Saleem Latif
38931957e2
Add testing for 'saml' management command
2016-10-19 12:49:41 +05:00
Douglas Hall
f806f3a165
Merge pull request #13474 from open-craft/bdero/site-sso
...
ENT-16 Make SSO configurable per Site
2016-09-26 14:54:40 -04:00
Brandon DeRosier
3dcf689ee2
Implement Site settings for Third Party Auth providers
2016-09-26 12:43:00 -04:00
Jesse Shapiro
6b9b34886c
Merge pull request #13537 from open-craft/haikuginger/adjust-saml-expiration-type
...
[ENT-23] Convert SAML cache expiration to timezone-aware datetime.datetime
2016-09-26 12:33:23 -04:00
Jesse Shapiro
45bca67f79
Set up type conversion in third_party_auth to allow cacheDuration attribute to work
2016-09-26 10:28:39 -04:00
Matjaz Gregoric
344c72b3e2
Use non-ascii PLATFORM_NAME in tests.
...
It should help catch unicode encoding problems earlier.
This also updates python-saml dependency to a version that includes a
patch for unicode strings.
2016-09-23 15:38:23 +02:00
Jesse Shapiro
ce2ab5b15c
Adding 'visible' field for SSO providers
2016-09-08 11:27:09 -04:00
Braden MacDonald
8bf9b188a5
Add optional "debug mode" w/ detailed logging for SAML IdPs
2016-09-06 15:27:45 -07:00
wajeeha-khalid
03cee389e0
update oauthlib version to 1.0.3
2016-07-25 10:59:42 +05:00
Sylvia Pearce
8b1f28d317
Account registration and activation text string revisions
2016-06-27 13:32:53 -04:00
Calen Pennington
d77025c873
Use a contextmanager to cleanup after manipulating the current request in third_party_auth tests
2016-06-09 10:10:39 -04:00
Ahsan Ulhaq
d31b7cbd68
Complete Order History area for students
...
ECOM-2361
2016-06-08 21:45:07 +05:00
Calen Pennington
18e1610043
Remove the create_user argument to setUp.
...
Instead, use a class attribute to define test behavior. This allows for
easier addition of new mixins over time.
2016-05-04 11:35:55 -04:00
Cliff Dyer
6917eb03cf
Merge pull request #12009 from edx/merge-release-into-master
...
Merge oauth release into master via intermediary branch
2016-04-01 06:12:16 -04:00
Omar Khan
793bb0f1e9
Custom icons for third party auth login buttons
...
- Icon images can be uploaded from the django admin
- Test coverage improved
2016-04-01 08:57:43 +07:00
J. Cliff Dyer
05218f954b
Merge remote-tracking branch 'origin/release' into merge-release-into-master
2016-03-31 20:15:22 +00:00
J. Cliff Dyer
1df040228a
Configure LMS to select oauth2 providing library.
...
Available backends:
* django-oauth-toolkit (DOT)
* django-oauth2-provider (DOP)
* Use provided client ID to select backend for
* AccessToken requests
* third party auth-token exchange
* Create adapters to isolate library-dependent functionality
* Handle django-oauth-toolkit tokens in edX DRF authenticator class
MA-1998
MA-2000
2016-03-30 14:21:27 +00:00
Braden MacDonald
ee444ed67f
Enable Azure AD third party auth provider by default
2016-03-29 15:24:00 -07:00
Omar Khan
28cb402a04
Return 404 response from third party auth login when SAML disabled
2016-02-05 13:49:20 +07:00
Hasnain
0971e3715a
Added check for duplication of email
2016-01-29 14:01:07 +00:00
Omar Khan
ab688e63ea
Redirect to login when SAML accessed without idp param
...
The python social auth SAML page returns a 500 response when accessed
without the 'idp' query param. It should redirect to the login page if
the param is missing.
SOL-1550
2016-01-20 09:36:31 +07:00
Braden MacDonald
a654d5e7ac
Add additional data to custom SSO auth form extension points
2015-12-04 15:38:18 -08:00
Braden MacDonald
4645c6ecdd
Allow using a custom login/register form with third_party_auth
2015-12-01 15:43:34 -08:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
muhammad-ammar
8d5f153201
Merge remote-tracking branch 'origin/release' into dj18-release-merge
...
Conflicts:
common/djangoapps/util/testing.py
lms/djangoapps/instructor/views/api.py
lms/djangoapps/teams/tests/test_views.py
openedx/core/djangoapps/programs/models.py
openedx/core/djangoapps/user_api/accounts/tests/test_views.py
requirements/edx/github.txt
2015-11-18 17:53:44 +05:00
Braden MacDonald
40448e44fa
Address review comments and test failure
2015-11-16 16:11:00 -08:00
Braden MacDonald
f1bfa56884
Clean up integration tests, test logging in without activation
2015-11-16 16:11:00 -08:00
Usman Khalid
6cb62f2697
Rebase upgrade Django to v1.8.5
...
Please note that this is a squshed commit and the work of:
Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
2015-11-10 15:00:19 -05:00
Robert Raposa
3682fac832
Add json escaping to Studio
...
Make escaping for json simpler and more consistent in Mako templates
- add escape_json_dumps to escape and json.dumps
- add escape_js_str to escape javascript string
- refactor Studio to use escape_json_dumps in Mako templates
TNL-2646: Escape json.dumps
2015-11-04 13:34:42 -05:00
Pan Luo
f69304373c
Implement user mapping API
...
This mapping API enables the mapping between the edX user ID and the ID
provided by identity provider (IdP). For details, please see
https://github.com/edx/edx-platform/pull/9842
2015-10-27 15:19:42 -07:00
Adam Palay
9a79bf2ec9
skip LTIConfig test when third_party_auth is not installed
2015-10-16 12:22:54 -04:00
Diana Huang
0248f8af6d
Add new clickjacking decorator that whitelists LTI consumers.
2015-10-07 11:20:51 -04:00
Braden MacDonald
4be8aa5d5d
Initial implementation of API for listing a user's third party auth providers
2015-09-10 16:44:50 -07:00
zubair-arbi
d2a4790855
use the standard syntax to load JavaScript dependencies on logistration js files
...
ECOM-2044
2015-09-07 18:19:56 +05:00
William Ono
4d1194800e
Support LTI third-party-auth providers
...
PR #8930
2015-09-03 22:53:45 -07:00
Tasawer
cd69ca2b23
Removed unused url endpoints + fixed broken tests
...
ECOM-1017
2015-08-31 12:50:08 +00:00
Braden MacDonald
586c237543
Fix for Twitter compatibility
2015-08-27 11:19:39 -07:00
Braden MacDonald
79a075328f
Allow configuring sensitive third_party_auth settings via lms.auth.json
2015-08-25 16:35:35 -04:00
Ned Batchelder
f54fe787c6
Remove needless 'disable=no-member' pragmas
2015-08-03 17:47:44 -04:00
Braden MacDonald
f776b81853
Make email addresses in SAML metadata fully configurable
2015-07-29 14:48:31 -07:00
Sarina Canelake
b41e70f541
Remove Pylint violations deprecated-pragma, bad-option-value
2015-07-13 17:33:26 -04:00
Sarina Canelake
ba8fd1c21d
Eliminate instances of unused-import Pylint violation
2015-07-13 17:33:25 -04:00
Braden MacDonald
4487b6d184
Fix errors with fetching Shibboleth metadata
2015-06-30 20:50:45 -07:00
Braden MacDonald
7437bcfe12
New provider config options, New Institution Login Menu - PR 8603
2015-06-26 13:24:01 -07:00
Braden MacDonald
00226bf3c0
Asynchronous metadata fetching using celery beat - PR 8518
2015-06-26 13:24:00 -07:00
Braden MacDonald
cd941eada7
New SAML/Shibboleth tests - PR 8518
2015-06-26 13:24:00 -07:00
Braden MacDonald
b4904adc1e
Use ConfigurationModels for third_party_auth, new metadata fetching - PR 8155
2015-06-26 13:23:59 -07:00
Braden MacDonald
caca3e1bdf
SAML2 third_party_auth provider(s) - PR 8018
2015-06-26 13:23:59 -07:00
Will Daly
5e86a64729
User info cookie
...
* Add a new cookie for user information
* Make marketing cookie names configurable.
* Handle URL reversal when URLs don't exist (in Studio)
* Move cookie code from student/helpers.py into its own module.
2015-06-24 09:44:50 -07:00
Braden MacDonald
345fcabd05
Fix CRI-9 so third_party_auth pipeline always completes, and consolidate auto-enrollment code
2015-06-18 20:57:19 -07:00