From 1880f98fa144679ef548f2b08c71095036ab25ef Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Wed, 20 Jul 2022 19:10:26 +0200 Subject: [PATCH] sources/oauth: fix typo Signed-off-by: Jens Langhammer --- authentik/sources/oauth/types/oidc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/sources/oauth/types/oidc.py b/authentik/sources/oauth/types/oidc.py index 336c4bc8c..1f86a307e 100644 --- a/authentik/sources/oauth/types/oidc.py +++ b/authentik/sources/oauth/types/oidc.py @@ -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"), }