Fix in sso login

This commit is contained in:
Daniel Egger 2023-05-31 22:35:34 +02:00
parent 32233ec38e
commit 631893c60f
1 changed files with 1 additions and 2 deletions

View File

@ -47,7 +47,6 @@ def _user_data_from_token_data(token: dict) -> dict:
return {
"first_name": token.get("given_name", ""),
"last_name": token.get("family_name", ""),
"username": token.get("preferred_username", first_email),
"email": first_email,
"oid": token.get("oid"),
"sso_id": token.get("oid"),
}