From e63fcfe3a751428ca4d6311d3d365a4b13e61897 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Mon, 13 Jan 2025 17:34:16 -0500 Subject: [PATCH] remove offline_access from default scopes. too many idps don't allow it --- library/oidc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/oidc.c b/library/oidc.c index 6392cf9f..59837a4c 100644 --- a/library/oidc.c +++ b/library/oidc.c @@ -35,7 +35,7 @@ #define auth_url_path "/auth/callback" #define cb_url(host,port,path) "http://" host ":" _str(port) path #define default_cb_url cb_url("localhost",auth_cb_port,auth_url_path) -#define default_scope "openid offline_access" +#define default_scope "openid" #define TOKEN_EXCHANGE_GRANT "urn:ietf:params:oauth:grant-type:token-exchange"