sources/oauth: fix typo
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
d3c360d9e5
commit
1880f98fa1
|
@ -27,7 +27,7 @@ class OpenIDConnectOAuth2Callback(OAuthCallback):
|
||||||
info: dict[str, Any],
|
info: dict[str, Any],
|
||||||
) -> dict[str, Any]:
|
) -> dict[str, Any]:
|
||||||
return {
|
return {
|
||||||
"username": info.get("nickname", info.get("prefered_username")),
|
"username": info.get("nickname", info.get("preferred_username")),
|
||||||
"email": info.get("email"),
|
"email": info.get("email"),
|
||||||
"name": info.get("name"),
|
"name": info.get("name"),
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue