Thomas Tracy
f0ecc938ef
Add IdentityServer3 Backend ( #20275 )
...
* Add IdentityServer3 Backend
This adds a backend for users who want to use IdentityServer3 as their
SSO provider. It can be used with the OAuth2ProviderConfig in django
admin to point to an external provider.
2019-06-07 09:38:46 -04:00
irfanuddinahmad
53265d506e
user existence check updated to use email only
2019-05-30 12:30:14 +05:00
Zach Hancock
a350d327de
complete waiting enrollments. fixed
2019-05-24 13:47:49 -04:00
Jeremy Bowman
f9929f32b5
Update quality threshold counts ( #20681 )
2019-05-24 08:27:54 -04:00
amitvadhel
8ef8dd27b2
INCR-139: Run python-modernize on common/djangoapps/third_party_auth/tests [tests, data]
2019-05-10 12:54:01 +03:00
Michael Roytman
66dc07a49f
Merge pull request #20295 from edx/mroytman/EDUCATOR-4229-lms-redirection-idp
...
add LMS endpoint to redirect to identity provider
2019-04-25 14:13:06 -04:00
Michael Roytman
6d2e273819
address review
2019-04-24 21:02:35 -04:00
Zach Hancock
afe3cdb3ec
user lookup util
2019-04-24 09:47:38 -04:00
Michael Roytman
14160b919f
add LMS endpoint to redirect to identity provider
2019-04-23 17:10:31 -04:00
Waheed Ahmed
3bdf83dba7
Update third party auth login page message.
...
LEARNER-5258
2019-04-17 15:20:38 +05:00
Thomas Tracy
29fb1588a9
Another pip issue.
2019-04-10 09:02:50 -04:00
Thomas Tracy
f59dc6c820
Fix's bug that does not allow an Oauth2 provider to have different slug and backend_names
...
Added comment to explain model change.
Removed accidental whitespace.
Another pip issue.
2019-04-09 19:59:55 -04:00
Hasnain Naveed
6acf53173f
Merge pull request #20048 from edx/hasnain-naveed/WL-1903
...
WL-1903 | Error handling for incorrect configuration of SAML Auth.
2019-04-05 15:55:03 +05:00
Douglas Hall
7128059921
Add API view for retrieving third party auth user status.
2019-04-02 12:58:13 -04:00
Cory Lee
ac4845d052
DEPR-14 Remove AWS.py
2019-03-28 10:48:34 -04:00
hasnain-naveed
c554ef6dd9
WL-1903 | Error handling for incorrect configuration of saml Auth.
2019-03-26 15:40:58 +05:00
Brittney Exline
34fa06aeda
Merge pull request #20026 from edx/bexline/ent-1500
...
ENT-1500 Update third_party_auth pipeline to override get_username
2019-03-21 10:29:47 -04:00
Hammad Ahmad Waqas
a48b59c24c
fixed : when SAML attribute is mapped + present, but has no value
2019-03-21 12:08:50 +05:00
Brittney Exline
550d2616b5
ENT-1500 Update third_party_auth pipeline to override get_username
...
We are doing this for two reasons:
1. We suspect that the get_username function in social_core is performing a case-sensitive
username check which is breaking when we try to create the user with a duplicate username.
This version ensures we perform a case insensitive check.
2. If it's not that, we want more logging information in order to debug the issue.
2019-03-19 17:01:29 -04:00
Julia Eskew
368f221f0a
Initial start on annotations.
2019-02-19 11:24:21 -05:00
adeelehsan
73f57457c0
Disbale third party login
...
if user password is unusable
then disable third party login
LEARNER-6183
2019-02-15 16:03:11 +05:00
Matthew Piatetsky
9681ca36b8
fix unicode strings in common/
2019-02-05 10:57:00 -05:00
Michael Youngstrom
e7898d153d
Move to python3-saml
2019-01-30 16:35:16 -05:00
Nimisha Asthagiri
f840774169
Fix Studio SSO
...
ARCH-329
2018-12-22 22:48:46 -05:00
Nimisha Asthagiri
c7c8e856cd
Check and update login status with all login-related cookies
2018-12-17 13:03:32 -05:00
Gabe Mulley
5311509b19
Provide more context to calls to Segment.
...
Implementation for DE-1089.
Centralize the definition of context into a single method. This is in
common/djangoapps/track because the context is originally set there by
middleware.
2018-11-15 20:56:10 -05:00
Waheed Ahmed
bf5ad9b871
Update session cookie expiry.
...
Update session cookie expiry to 4 weeks regardless of remember me
checkbox is checked or not.
LEARNER-6219
2018-11-14 17:36:51 +05:00
Ned Batchelder
3353e7425e
Remove unused imports
2018-11-03 16:07:05 -04:00
Dillon-Dumesnil
1754dc5119
Merge pull request #19105 from edx/ddumesnil/unicode_cleanup
...
Cleaning up unicode waffle flag
2018-10-30 13:20:41 -04:00
Saleem Latif
ec2a36b4a4
Third Party Authentication (SSO): Default values for SAML attributes
2018-10-22 11:03:01 +05:00
Dillon Dumesnil
0a0df72fc9
Cleaning up unicode waffle flag
2018-10-19 13:25:08 -04:00
J. Cliff Dyer
b3521e0f88
Add endpoint to get SAML providers for a user.
...
View is combined with user SSO views.
Includes a new version of the view that takes explicit "username" or "email".
OC-4285
2018-10-18 14:02:12 -04:00
Robert Raposa
fbc59231fc
Update edx-drf-extensions to 2.0.0.
...
Note: this version update is backward incompatible.
ARCH-255
2018-10-17 01:00:34 -04:00
Ahsan Ulhaq
ee7555e85f
update usage of SessionAuthenticationAllowInactiveUser
...
LEARNER-6469
2018-10-01 17:52:52 +05:00
Nimisha Asthagiri
8cf44283c9
Consolidate user login and authentication code
2018-09-15 03:21:39 -04:00
asadiqbal
0dbdac3262
Unlink learner from Enterprise Customer when learner unlinks from IDP
2018-09-04 11:07:53 +05:00
Jeremy Bowman
3ff3eee2f2
TE-2689 Remove useless pylint suppressions part 4
2018-08-20 12:54:22 -04:00
Jeremy Bowman
713d64e1e2
TE-2702 Update Read the Docs links to HTTPS
2018-08-15 17:34:01 -04:00
irfanuddinahmad
ead8a78e29
disabled activation email
2018-07-13 12:48:02 +05:00
Jeremy Bowman
69092ac18b
Fix unit tests with latest social-auth-* packages
2018-06-13 17:24:33 -04:00
Michael Youngstrom
f4dc2ca000
Merge pull request #18314 from edx/youngstrom/remove_django_18_shim
...
Remove temp django upgrade logic
2018-06-06 11:09:17 -04:00
Tyler Hallada
1f42d1b384
Merge pull request #18316 from edx/thallada/PLAT-1524-on-delete
...
PLAT-1524: Add on_delete kwarg to ForeignKey & OneToOneFields
2018-06-06 10:38:15 -04:00
Michael Youngstrom
26b4e30833
Remove django 1.8 shim
2018-06-06 10:34:56 -04:00
Tyler Hallada
1540f9ec72
Add on_delete kwarg to ForeignKey & OneToOneFields
...
Django 2.0 will make this field required for `ForeignKey` and `OneToOneFields`.
In previous versions the option defaulted to `models.CASCADE` when not
specified. This change should make the deprecation warnings in the current
Django version go away.
The migrations where also modified, but the changes should not cause a change in
the database schema since `models.CASCADE` was already the old default.
2018-06-05 17:05:12 -04:00
Eric Fischer
247bb50ed2
s/django.core.urlresolvers/django.urls/g
...
Django 1.10 deprecation fix for Hackathon XIX
Addresses PLAT-1397
2018-06-05 13:59:09 -04:00
Eric Fischer
e18448e27d
Silence deprecation warnings
...
https://docs.djangoproject.com/en/1.11/releases/1.10/#using-user-is-authenticated-and-user-is-anonymous-as-methods
2018-05-02 10:03:50 -04:00
Adeel Khan
cd2f6592c3
Catch HttpError thrown by Python Social Auth.
...
This patch enables catching HttpError exception raised
by PSA because of any issue caused at client/server.
Further it redirects user to login page with a
message about the error.
LEARNER-4344
2018-04-26 13:02:38 +05:00
Brittney Exline
f41bf2f409
ENT-944 Create SSOVerifications for users in tpa pipeline based on provider's settings
2018-04-23 10:10:26 -04:00
Saleem Latif
7545705c36
Deleted SAML Identity provider appears in the Enterprise customer IdPs list.
2018-04-19 11:40:18 +05:00
Bill DeRusha
d1ed33ac23
Update and refactor random password generator
2018-04-13 14:17:21 -04:00