From c1e8bf1be05cee5f37b2773f775e73a633344e3a Mon Sep 17 00:00:00 2001 From: kuannie1 Date: Fri, 12 Apr 2024 13:25:32 -0700 Subject: [PATCH] try setting offline_access --- oidc_cli/oidc_impl/client/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oidc_cli/oidc_impl/client/client.go b/oidc_cli/oidc_impl/client/client.go index b08da825..aa45dee3 100644 --- a/oidc_cli/oidc_impl/client/client.go +++ b/oidc_cli/oidc_impl/client/client.go @@ -200,7 +200,7 @@ func (c *Client) Exchange(ctx context.Context, code string, codeVerifier string) if len(c.oauthConfig.Scopes) != 0 { scope_str := format_scopes(ctx, c.oauthConfig.Scopes) params = append(params, oauth2.SetAuthURLParam("scopes", scope_str)) - logrus.Debugf("scopes: %s", scope_str) + logrus.Debugf("scopes: %s", "offline_access") } else { logrus.Debug("no scopes set") }