sources/oauth: fix typo

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2022-07-20 19:10:26 +02:00
parent d3c360d9e5
commit 1880f98fa1
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ class OpenIDConnectOAuth2Callback(OAuthCallback):
info: dict[str, Any],
) -> dict[str, Any]:
return {
"username": info.get("nickname", info.get("prefered_username")),
"username": info.get("nickname", info.get("preferred_username")),
"email": info.get("email"),
"name": info.get("name"),
}