Feanil Patel
844acea50e
Fix linting errors.
2019-09-19 17:05:02 -04:00
Feanil Patel
4eaf875741
BOM-621 Fix hashing in a bunch of places.
2019-09-19 15:53:39 -04:00
Ned Batchelder
835a84f33c
Use bytestrings to create SimpleUploadedFiles. BOM-616
2019-09-19 10:32:23 -04:00
Feanil Patel
f259a911c7
BOM-618 Decode content we get from test requests.
2019-09-19 10:32:23 -04:00
Ayub khan
8a95a8e520
BOM-95
...
assertItemsEqual with six.assertCountEqual
2019-08-21 17:01:40 +05:00
David Ormsbee
9a1385585f
Convert response bytes to str before JSON parsing. ( #21375 )
...
Convert response bytes to str before JSON parsing.
2019-08-19 11:01:55 -04:00
aarif
61800c619f
replaced StringIO imports with import from six
...
replaced cStringIO and StringIO imports with import from six
fixed StringIO imports
fixed StringIO imports
fixed XSS python-wrap warning
2019-08-08 00:09:16 +05:00
Zachary Hancock
90c9103a89
command to remove social auth users ( #21280 )
...
remove social auth users command
2019-08-06 15:48:19 -04:00
pkulkark
076d82970c
Fix unicode username hints with SSO
...
Usernames containing unicode characters were
reportedly not showing up correctly in the
registration form when registered with MOE/SAML,
FB and Google.
This change fixes the issue by overriding the
django setting SOCIAL_AUTH_CLEAN_USERNAMES to
disable the default username check that wasn't
allowing non-ascii values.
2019-08-02 09:53:42 +05:30
irfanuddinahmad
e723448a77
minor logs update
2019-07-29 16:22:42 +05:00
irfanuddinahmad
df1c7f553a
reformatted logging
2019-07-25 16:10:48 +05:00
aarif
ccff822a28
ran python-modernize and isort on files mentioned in INCR-396
2019-07-19 10:04:05 -04:00
Ayub khan
83bc838fae
python 3 compatibility
2019-07-19 10:02:38 -04:00
Ayub khan
33bcb76a26
INCR-400 python3 compatibility
2019-07-19 10:00:39 -04:00
Awais Qureshi
3ed1399216
Merge pull request #21065 from edx/awais786/INCR-398
...
INCR-398
2019-07-19 11:33:43 +05:00
Awais Qureshi
af50c3c043
Merge pull request #21063 from edx/awais786/INCR-397
...
INCR-397
2019-07-18 14:34:43 +05:00
Awais Qureshi
8b278f3ac2
Merge pull request #21062 from edx/awais786/INCR-395
...
INCR-395
2019-07-18 12:19:30 +05:00
Awais Qureshi
288195e1be
Merge pull request #21060 from edx/awais786/INCR-394
...
INCR-394
2019-07-18 12:15:37 +05:00
Amit
0044bef4fd
INCR-393: Updates on Python 3.x ( #21054 )
2019-07-11 10:21:47 -04:00
arbisoft
e87dc6cc77
Fixing python-modernize issues.
2019-07-11 14:24:38 +05:00
arbisoft
004d856316
Fixing python-modernize issues.
2019-07-11 14:04:05 +05:00
arbisoft
c82b0110b0
Fixing python-modernize issues.
2019-07-11 13:37:11 +05:00
arbisoft
503622c5d2
Fixing python-modernize issues.
2019-07-11 12:59:47 +05:00
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