From 4f1b45d8bad9bffe6e48e6c1544bb7c9aa5a91c7 Mon Sep 17 00:00:00 2001 From: Pius Aboyi Date: Mon, 11 Mar 2024 15:34:56 +0100 Subject: [PATCH] add offline access scope to oath config --- server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.py b/server.py index 3782e9d..24d22ba 100644 --- a/server.py +++ b/server.py @@ -24,7 +24,7 @@ client_id=env.get("AUTHGEAR_CLIENT_ID"), client_secret=env.get("AUTHGEAR_CLIENT_SECRET"), client_kwargs={ - "scope": "openid", + "scope": "openid offline_access", }, server_metadata_url=f'https://{env.get("AUTHGEAR_DOMAIN")}/.well-known/openid-configuration', )