Brittney Exline
ae8a5f2bf7
ENT-447 Add flag to third party auth SAML provider to send to the registration page first
2017-06-27 13:12:00 -04:00
Uman Shahzad
8b65ca17c5
Migrate to latest, split python-social-auth.
...
PSA was monolothic, now split, with new features, like
a DB-backed partial pipeline. FB OAuth2 version also upped.
Partial pipelines don't get cleared except when necessary.
They persist for special cases like change of browser while
still mid-pipeline (i.e. email validation step).
Refactor, cleanup, and update of a lot of small things as well.
PLEASE NOTE the new `social_auth_partial` table.
2017-06-20 22:05:36 +05:00
Uman Shahzad
d5c85331c5
Automatically populate additional fields for SSO scenarios.
...
When authenticating using an SAML IdP, gather additional user
data besides what is standard. Requires admin to input JSON
in settings to recognize the additional user data.
2017-06-18 22:18:43 +00:00
Andy Armstrong
93235d118d
Reorder imports using isort (except lms and cms)
2017-05-30 16:04:54 -04:00
Matt Drayer
5097bd6e54
mattdrayer/ENT-328: Update account activation message on sign-in form.
2017-05-04 10:58:42 -04:00
Jesse Shapiro
3f05d2e64d
Merge pull request #14900 from open-craft/haikuginger/sso-provider-session-expiry
...
[ENT-327] Allow per-SSO-provider session expiration limits
2017-04-19 13:52:41 -04:00
Brandon DeRosier
bed65b2a91
Merge pull request #14904 from open-craft/bdero/ent-320
...
ENT-320: Fix OAuth2ProviderConfig to be keyed by `provider_slug`
2017-04-18 14:05:30 -04:00
Brandon DeRosier
d8e1b917ef
ENT-320: Fix OAuth2ProviderConfig to be keyed by provider_slug
...
This change fixes a bug where OAuth2 Provider Configs only show
up on logistration if the provider's `provider_slug` matches a
valid OAuth2 backend name.
Closes ENT-320.
2017-04-18 09:21:04 -04:00
Jesse Shapiro
ee9f632a3d
Allow per-SSO-provider session expiration limits
2017-04-18 09:07:53 -04:00
Jesse Shapiro
3f6e690827
When visiting track selection page with a TPA hint, logout the existing session
2017-04-17 23:09:01 -04:00
Jesse Shapiro
da3867e870
Enable direct calls to SAP SuccessFactors OData API to fetch user data during SSO process
2017-04-06 10:31:01 -04:00
Matt Drayer
b64503848c
Add SAML metadata refresh control flag
...
mattdrayer: Change model fieldname, revise code, fix bad tests.
2017-04-02 16:47:20 -04:00
Andy Armstrong
0325425c8c
Add data sharing consent redirect for more course tabs
...
LEARNER-394
2017-03-31 19:12:13 -04:00
Clinton Blackburn
4cc7628696
Upgraded to Python Social Auth 0.2.21 to resolve migration issue
2017-03-10 23:06:02 -05:00
Jesse Shapiro
ff581d003f
Remove unnecessary pipeline element; use new name for existing element
2017-02-28 09:54:57 -05:00
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
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