feat: associates user by email for oauth when tpa is required
This change associates users signing in using oauth providers when tpa is required, verifying that only a single database user is associated with the email. For more information as to why this was added in a separate pipeline, check edx-platform#25935.
Showing
- common/djangoapps/third_party_auth/pipeline.py 33 additions, 28 deletionscommon/djangoapps/third_party_auth/pipeline.py
- common/djangoapps/third_party_auth/settings.py 1 addition, 0 deletionscommon/djangoapps/third_party_auth/settings.py
- common/djangoapps/third_party_auth/tests/specs/base.py 21 additions, 0 deletionscommon/djangoapps/third_party_auth/tests/specs/base.py
- common/djangoapps/third_party_auth/tests/specs/test_azuread.py 4 additions, 0 deletions...n/djangoapps/third_party_auth/tests/specs/test_azuread.py
- common/djangoapps/third_party_auth/tests/specs/test_google.py 4 additions, 0 deletions...on/djangoapps/third_party_auth/tests/specs/test_google.py
- common/djangoapps/third_party_auth/tests/specs/test_linkedin.py 4 additions, 0 deletions.../djangoapps/third_party_auth/tests/specs/test_linkedin.py
- common/djangoapps/third_party_auth/tests/specs/test_twitter.py 4 additions, 0 deletions...n/djangoapps/third_party_auth/tests/specs/test_twitter.py
- common/djangoapps/third_party_auth/tests/test_utils.py 51 additions, 0 deletionscommon/djangoapps/third_party_auth/tests/test_utils.py
- common/djangoapps/third_party_auth/utils.py 34 additions, 0 deletionscommon/djangoapps/third_party_auth/utils.py
Please register or sign in to comment