From 37346763dc8015cb809b9a06e3602a9bc277233b Mon Sep 17 00:00:00 2001 From: Denis Teyssier Date: Wed, 15 Sep 2021 09:15:19 +0200 Subject: [PATCH] sources/oauth: Updating token url to new google url (#1397) the present url goes to a 404 google openid (https://accounts.google.com/.well-known/openid-configuration) says the new url is `https://oauth2.googleapis.com/token` not using the new url makes authentik fallback on the default auth flow --- authentik/sources/oauth/types/google.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentik/sources/oauth/types/google.py b/authentik/sources/oauth/types/google.py index 28735b635..2819c3153 100644 --- a/authentik/sources/oauth/types/google.py +++ b/authentik/sources/oauth/types/google.py @@ -38,5 +38,5 @@ class GoogleType(SourceType): slug = "google" authorization_url = "https://accounts.google.com/o/oauth2/auth" - access_token_url = "https://accounts.google.com/o/oauth2/token" # nosec + access_token_url = "https://oauth2.googleapis.com/token" # nosec profile_url = "https://www.googleapis.com/oauth2/v1/userinfo"