Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
49eb5ee3
Commit
49eb5ee3
authored
Sep 10, 2014
by
Will Daly
Committed by
Zia Fazal
Apr 06, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable third party auth in LMS acceptance tests
Update db cache
parent
b1b4b297
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
3 deletions
+23
-3
lms/envs/acceptance.py
+12
-3
lms/envs/bok_choy.auth.json
+10
-0
lms/envs/bok_choy.env.json
+1
-0
No files found.
lms/envs/acceptance.py
View file @
49eb5ee3
...
@@ -102,9 +102,18 @@ FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
...
@@ -102,9 +102,18 @@ FEATURES['ENABLE_DISCUSSION_SERVICE'] = False
# Use the auto_auth workflow for creating users and logging them in
# Use the auto_auth workflow for creating users and logging them in
FEATURES
[
'AUTOMATIC_AUTH_FOR_TESTING'
]
=
True
FEATURES
[
'AUTOMATIC_AUTH_FOR_TESTING'
]
=
True
# Third-party auth is enabled in lms/envs/test.py for unittests, but we don't
# Enable third-party authentication
# yet want it for acceptance tests.
FEATURES
[
'ENABLE_THIRD_PARTY_AUTH'
]
=
True
FEATURES
[
'ENABLE_THIRD_PARTY_AUTH'
]
=
False
THIRD_PARTY_AUTH
=
{
"Google"
:
{
"SOCIAL_AUTH_GOOGLE_OAUTH2_KEY"
:
"test"
,
"SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET"
:
"test"
},
"Facebook"
:
{
"SOCIAL_AUTH_FACEBOOK_KEY"
:
"test"
,
"SOCIAL_AUTH_FACEBOOK_SECRET"
:
"test"
}
}
# Enable fake payment processing page
# Enable fake payment processing page
FEATURES
[
'ENABLE_PAYMENT_FAKE'
]
=
True
FEATURES
[
'ENABLE_PAYMENT_FAKE'
]
=
True
...
...
lms/envs/bok_choy.auth.json
View file @
49eb5ee3
...
@@ -100,6 +100,16 @@
...
@@ -100,6 +100,16 @@
"username"
:
"lms"
"username"
:
"lms"
},
},
"SECRET_KEY"
:
""
,
"SECRET_KEY"
:
""
,
"THIRD_PARTY_AUTH"
:
{
"Google"
:
{
"SOCIAL_AUTH_GOOGLE_OAUTH2_KEY"
:
"test"
,
"SOCIAL_AUTH_GOOGLE_OAUTH2_SECRET"
:
"test"
},
"Facebook"
:
{
"SOCIAL_AUTH_FACEBOOK_KEY"
:
"test"
,
"SOCIAL_AUTH_FACEBOOK_SECRET"
:
"test"
}
},
"XQUEUE_INTERFACE"
:
{
"XQUEUE_INTERFACE"
:
{
"basic_auth"
:
[
"basic_auth"
:
[
"edx"
,
"edx"
,
...
...
lms/envs/bok_choy.env.json
View file @
49eb5ee3
...
@@ -70,6 +70,7 @@
...
@@ -70,6 +70,7 @@
"ENABLE_DISCUSSION_SERVICE"
:
true
,
"ENABLE_DISCUSSION_SERVICE"
:
true
,
"ENABLE_INSTRUCTOR_ANALYTICS"
:
true
,
"ENABLE_INSTRUCTOR_ANALYTICS"
:
true
,
"ENABLE_S3_GRADE_DOWNLOADS"
:
true
,
"ENABLE_S3_GRADE_DOWNLOADS"
:
true
,
"ENABLE_THIRD_PARTY_AUTH"
:
true
,
"PREVIEW_LMS_BASE"
:
"localhost:8003"
,
"PREVIEW_LMS_BASE"
:
"localhost:8003"
,
"SUBDOMAIN_BRANDING"
:
false
,
"SUBDOMAIN_BRANDING"
:
false
,
"SUBDOMAIN_COURSE_LISTINGS"
:
false
,
"SUBDOMAIN_COURSE_LISTINGS"
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment