We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edc1d70 commit 247570eCopy full SHA for 247570e
1 file changed
src/bornhack_allauth_provider/provider.py
@@ -17,7 +17,7 @@ class BornHackProvider(OpenIDConnectProvider):
17
18
def extract_uid(self, data: dict[str, str]) -> str:
19
"""Get BornHack username from the OIDC standard claim 'sub'."""
20
- return str(data["sub"])
+ return str(data["userinfo"]["sub"])
21
22
def extract_common_fields(self, data: dict[str, str]) -> dict[str, str]:
23
"""Map OIDC user claims to the data dict used in BornHackSocialAccountAdapter.populate_user()."""
0 commit comments