Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
d702082d
Commit
d702082d
authored
12 years ago
by
Carlos Andrés Rocha
Browse files
Options
Downloads
Patches
Plain Diff
[34078525] Add test settings for openid
parent
27fe80d5
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
common/djangoapps/external_auth/views.py
+2
-1
2 additions, 1 deletion
common/djangoapps/external_auth/views.py
lms/envs/dev.py
+1
-1
1 addition, 1 deletion
lms/envs/dev.py
lms/envs/test.py
+5
-0
5 additions, 0 deletions
lms/envs/test.py
with
8 additions
and
2 deletions
common/djangoapps/external_auth/views.py
+
2
−
1
View file @
d702082d
...
...
@@ -244,7 +244,8 @@ def ssl_login(request):
# try the direct apache2 SSL key
cert
=
request
.
_req
.
subprocess_env
.
get
(
certkey
,
''
)
except
Exception
:
pass
cert
=
None
if
not
cert
:
# no certificate information - go onward to main index
return
student_views
.
index
(
request
)
...
...
This diff is collapsed.
Click to expand it.
lms/envs/dev.py
+
1
−
1
View file @
d702082d
...
...
@@ -116,7 +116,7 @@ OPENID_UPDATE_DETAILS_FROM_SREG = True
OPENID_SSO_SERVER_URL
=
'
https://www.google.com/accounts/o8/id
'
# TODO: accept more endpoints
OPENID_USE_AS_ADMIN_LOGIN
=
False
OPENID_PROVIDER_TRUSTED_ROOTS
=
[
'
*
'
]
OPENID_PROVIDER_TRUSTED_ROOTS
=
[
'
*
'
]
################################ MIT Certificates SSL Auth #################################
MITX_FEATURES
[
'
AUTH_USE_MIT_CERTIFICATES
'
]
=
True
...
...
This diff is collapsed.
Click to expand it.
lms/envs/test.py
+
5
−
0
View file @
d702082d
...
...
@@ -123,6 +123,11 @@ CACHES = {
# Dummy secret key for dev
SECRET_KEY
=
'
85920908f28904ed733fe576320db18cabd7b6cd
'
################################## OPENID ######################################
MITX_FEATURES
[
'
AUTH_USE_OPENID
'
]
=
True
MITX_FEATURES
[
'
AUTH_USE_OPENID_PROVIDER
'
]
=
True
OPENID_PROVIDER_TRUSTED_ROOTS
=
[
'
*
'
]
############################ FILE UPLOADS (ASKBOT) #############################
DEFAULT_FILE_STORAGE
=
'
django.core.files.storage.FileSystemStorage
'
MEDIA_ROOT
=
TEST_ROOT
/
"
uploads
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment