From b7d828702d6f4fe453ad39a01b747db2d0248fe0 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sun, 9 May 2021 22:56:44 +0200 Subject: [PATCH] sources/oauth: don't set username on google source Signed-off-by: Jens Langhammer --- authentik/sources/oauth/types/google.py | 1 - 1 file changed, 1 deletion(-) diff --git a/authentik/sources/oauth/types/google.py b/authentik/sources/oauth/types/google.py index ee6bdf63f..28735b635 100644 --- a/authentik/sources/oauth/types/google.py +++ b/authentik/sources/oauth/types/google.py @@ -23,7 +23,6 @@ class GoogleOAuth2Callback(OAuthCallback): info: dict[str, Any], ) -> dict[str, Any]: return { - "username": info.get("email"), "email": info.get("email"), "name": info.get("name"), }