Skip to content

Commit

Permalink
try setting offline_access
Browse files Browse the repository at this point in the history
  • Loading branch information
kuannie1 committed Apr 12, 2024
1 parent 8a4e222 commit c1e8bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oidc_cli/oidc_impl/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit c1e8bf1

Please sign in to comment.