Skip to content

fix(backends): request required Auth0 OIDC scopes - #1906

Merged
nijel merged 1 commit into
python-social-auth:masterfrom
nijel:auth0-scope
Aug 7, 2026
Merged

fix(backends): request required Auth0 OIDC scopes#1906
nijel merged 1 commit into
python-social-auth:masterfrom
nijel:auth0-scope

Conversation

@nijel

@nijel nijel commented Aug 7, 2026

Copy link
Copy Markdown
Member

Auth0 only returns an ID token when the openid scope is requested, while the legacy backend requires that token for user details. Request the standard identity scopes by default and report a clear error when the token is absent.

Closes #901

Auth0 only returns an ID token when the openid scope is requested, while the legacy backend requires that token for user details. Request the standard identity scopes by default and report a clear error when the token is absent.

Closes python-social-auth#901
@nijel nijel self-assigned this Aug 7, 2026
@nijel
nijel enabled auto-merge (rebase) August 7, 2026 08:04
@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.32%. Comparing base (2d3b926) to head (4d028c1).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1906      +/-   ##
==========================================
+ Coverage   87.31%   87.32%   +0.01%     
==========================================
  Files         352      352              
  Lines       13700    13713      +13     
  Branches      674      675       +1     
==========================================
+ Hits        11962    11975      +13     
  Misses       1494     1494              
  Partials      244      244              
Flag Coverage Δ
unittests 87.32% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@nijel
nijel merged commit e6e36fa into python-social-auth:master Aug 7, 2026
18 checks passed
@nijel
nijel deleted the auth0-scope branch August 7, 2026 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Auth0 OAuth 2: Unable to get id_token

1 participant