Matt Drayer
685524bb70
Merge pull request #14541 from edx/mattdrayer/direct-idp-login
...
ENT-228: Allow tpa_hint to match hidden providers
2017-02-22 17:10:54 -05:00
Hasnain
2f1d405146
Set 'created_on_site' UserAttribute on account creation.
...
We need to be able to track which site a given user account was created on. This
change will create a UserAttribute model with a key of 'created_on_site' and a value
containing the domain of the site on which the user accounted was created.
WL-977
2017-02-22 05:12:21 -05:00
Matt Drayer
6e661404a4
mattdrayer/direct-idp-login: Allow tpa_hint to match hidden providers
2017-02-21 14:57:43 -05:00
Clinton Blackburn
1189867dd2
Removed references to ECOMMERCE_API_SIGNING_KEY
...
We should not be using custom signing keys for each service at this time. We may want to return to this strategy in the future; but, this is not the direction any of our other services are going in.
ECOM-6541
2017-02-01 01:51:21 -05:00
Saleem Latif
befe3052c9
Update saml --pull command to raise error when it fails.
2016-12-13 12:36:38 +05:00
Jesse Shapiro
fc814aee95
Add data sharing consent features for EnterpriseCustomer
2016-12-12 09:30:38 -05:00
Saleem Latif
38931957e2
Add testing for 'saml' management command
2016-10-19 12:49:41 +05:00
Saleem Latif
cb527f1e39
Fix NameError issue for saml mangemement command
2016-10-18 17:25:43 +05:00
Brandon DeRosier
ec6c924b7c
Fixed site keying for SAMLConfigurationsfor SAML management command
2016-10-03 10:26:25 -04: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
Matjaz Gregoric
977e664afe
Don't fail if platform name contains non-ascii characters.
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
Saleem Latif
8ae92901ef
1. Merge microsites into Comprehensive Theming
...
2. Add site configuration overrides to theming/helpers.py
3. Move microsite.get_value from theming/helpers to site_configuration/helpers
4. Move microsite_configuration.microsite.get_value usages to site_configuration.helpers.values
2016-07-27 13:55:14 +05: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
Ibrahim
603546a04a
replace references to settings.PLATFORM_NAME in edx-platform with theme overrides
2016-06-17 18:33:19 +05: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
Ned Batchelder
2e1238b83e
Remove unused imports
2016-04-08 11:23:05 -04:00
muzaffaryousaf
c3cd2db384
Moving choices to admin form instead of models.
...
TNL-4296
2016-04-07 12:26:18 +05:00
muzaffaryousaf
e2d9ecc010
Make migrations in-sync with models
2016-04-07 12:26:18 +05: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
ed2cba2e2d
Keep SAML configuration check
2016-02-09 16:10:31 +07:00
Omar Khan
9b7bb0dc20
Make SAMLAuthBackend._config a cached_property
...
Cleaner, and keeps pylint happy
2016-02-09 15:45:49 +07:00
Omar Khan
2c4e97ebfa
Don't remove auth_url method
2016-02-09 15:45:21 +07:00
Omar Khan
78d4ed31a1
Revert "Keep SAML configuration check"
...
This reverts commit a020464a41 .
2016-02-09 15:40:27 +07:00
Omar Khan
a020464a41
Keep SAML configuration check
2016-02-08 14:32:12 +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
0872732cf0
Fix pylint C7630 (literal used as attribute) violations
...
There's no need to use a string literal in setattr, delattr, or the
two-argument form of getattr.
2015-11-23 15:32:54 -05:00
Ned Batchelder
f5d0f3ff55
Remove useless pylint suppressions
2015-11-22 07:41:19 -05:00
Kevin Falcone
80614a2798
Merge branch 'release' into hotfix-2015-11-20-conflict
2015-11-20 13:13:05 -05:00
Kevin Falcone
57a4df73a5
Management commands should no longer access args[]
...
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
Django intercepts the 'pull' argument and says "unrecognized arguments pull"
There were no tests for this command, so it wasn't noticed during the
upgrade testing, only once our integration monitoring noticed.
2015-11-19 16:25:49 -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
9ccf78ed06
Add some asserts and explanations, per review
2015-11-16 17:18:54 -08: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