Skip to content

Commit 555eb60

Browse files
committed
remember to include the sub claim for the openid scope
1 parent e1cd6af commit 555eb60

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/bornhack/oauth_validators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class BornhackOAuth2Validator(OAuth2Validator):
1010
# https://django-oauth-toolkit.readthedocs.io/en/latest/oidc.html#using-oidc-scopes-to-determine-which-claims-are-returned
1111
oidc_claim_scope = {
1212
# the OIDC standard user claims we support, and the OIDC standard scopes they require
13+
"sub": "openid",
1314
"email": "email",
1415
"email_verified": "email",
1516
"phone_number": "phone",

0 commit comments

Comments
 (0)