From 7a22c6f4e0ecbb8ca3f5eb2fc5faf5ebbaafcbfc Mon Sep 17 00:00:00 2001 From: decentral1se Date: Fri, 11 Jun 2021 18:30:03 +0200 Subject: [PATCH] Get rid of that --- keycloak_collective_portal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak_collective_portal.py b/keycloak_collective_portal.py index f28b79a..aa00458 100644 --- a/keycloak_collective_portal.py +++ b/keycloak_collective_portal.py @@ -21,7 +21,7 @@ templates = Jinja2Templates(directory="templates") oauth = OAuth() oauth.register( name="keycloak", - client_kwargs={"scope": "openid profile email offline_access"}, + client_kwargs={"scope": "openid profile email"}, client_id=KEYCLOAK_CLIENT_ID, client_secret=KEYCLOAK_CLIENT_SECRET, authorize_url=f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/auth",