zia.fazal@arbisoft.com
6f3fe9307c
Use user's first name as username
...
Changes to use user's first name as username for SAP Success Factors SSO.
ENT-1705
Don't ask for username from oData by default
add code comment
2020-03-09 12:34:00 +05:00
Feanil Patel
9cf2f9f298
Run 2to3 -f future . -w
...
This will remove imports from __future__ that are no longer needed.
https://docs.python.org/3.5/library/2to3.html#2to3fixer-future
2019-12-30 10:35:30 -05:00
Manjinder Singh
80c7f5af01
BOM-933: Fix type mismatches in various migrations 5 ( #22147 )
...
* fix type mismatch in third_party_auth migrations
* fix type mismatch in verify_student migrations
* fix type mismatch in video_config migrations
* fix type mismatch in verified_track_content migrations
* fix type mismatch in commercemigrations
* fix type mismatch in xblock_config migrations
* fix type mismatch in course_creators migrations
* fix type mismatch in contentstore migrations
2019-10-24 16:08:04 -04:00
Zia Fazal
7ccd2a6901
Refactored enterprise unlink code to fix ENT-1890
...
Refactored enterprise unlink code to fix ENT-1890
Fixed quality violations and brokent test
Fixed pylint quality violations
Fixed failing unit test
Fixed broken test after rebasing with master
2019-10-23 11:35:58 +05:00
irfanuddinahmad
df1c7f553a
reformatted logging
2019-07-25 16:10:48 +05:00
Ayub khan
33bcb76a26
INCR-400 python3 compatibility
2019-07-19 10:00:39 -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
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
Matthew Piatetsky
9681ca36b8
fix unicode strings in common/
2019-02-05 10:57:00 -05:00
Saleem Latif
ec2a36b4a4
Third Party Authentication (SSO): Default values for SAML attributes
2018-10-22 11:03:01 +05:00
asadiqbal
0dbdac3262
Unlink learner from Enterprise Customer when learner unlinks from IDP
2018-09-04 11:07:53 +05:00
Jeremy Bowman
5289c7e828
PLAT-1915 Stop using deprecated BaseException.message
2018-01-31 17:22:01 -05:00
Brittney Exline
c4670a33d7
ENT-839 Add ability to configure SP metadata for an IdP
2018-01-30 11:37:46 -05:00
Matt Drayer
885ddb9977
Utilize configured user for SuccessFactors BizX OData API callbacks
2017-12-12 15:23:05 -05:00
Matt Drayer
61bd579810
mattdrayer/ENT-783: Remove city from SuccessFactors OData API requests
2017-12-01 13:27:57 -05:00
Matt Drayer
9b4be93628
Better handling of data for OData API exception handling
2017-11-21 23:41:06 -05:00
Matt Drayer
8ee0366203
Revise OData exception logging
2017-11-14 11:16:17 -05:00
Matt Drayer
6027e5fc1d
mattdrayer/ENT-686: Enhanced logging for SuccessFactors exceptions
2017-11-09 10:00:17 -05:00
Matt Drayer
828c53cb64
SuccessFactors OData: Support null exception object scenarios
2017-11-06 10:13:47 -05:00
Matt Drayer
e9625aa75d
mattdrayer/ENT-686: Log SuccessFactors error response headers
2017-11-01 13:16:33 -04:00
Matt Drayer
8e51c69a51
Log additional context for SuccessFactors errors.
2017-10-18 12:41:35 +05:00
Jeremy Bowman
6fb7d63c9e
Fixes for test order dependence
2017-09-06 11:31:37 -04:00
zubair-arbi
64152e6841
add error message in odata api log
...
ENT-600
2017-08-29 19:10:22 +05:00
Jesse Shapiro
700e8053db
Generalize support for user fields from SAP SuccessFactors SSO providers
2017-08-09 13:07: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
Jesse Shapiro
ee9f632a3d
Allow per-SSO-provider session expiration limits
2017-04-18 09:07:53 -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
Clinton Blackburn
4cc7628696
Upgraded to Python Social Auth 0.2.21 to resolve migration issue
2017-03-10 23:06:02 -05:00
Brandon DeRosier
3dcf689ee2
Implement Site settings for Third Party Auth providers
2016-09-26 12:43:00 -04:00
Braden MacDonald
8bf9b188a5
Add optional "debug mode" w/ detailed logging for SAML IdPs
2016-09-06 15:27:45 -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
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
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