Skip to content

Commit

Permalink
fix: scope type should be string instead of int (#3337)
Browse files Browse the repository at this point in the history
  • Loading branch information
SavvasMohito committed Nov 3, 2022
1 parent f8a7ced commit f59f1c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2/handler.go
Expand Up @@ -824,7 +824,7 @@ type oAuth2TokenExchange struct {
ExpiresIn int `json:"expires_in"`

// The scope of the access token
Scope int `json:"scope"`
Scope string `json:"scope"`

// To retrieve a refresh token request the id_token scope.
IDToken int `json:"id_token"`
Expand Down

0 comments on commit f59f1c6

Please sign in to comment.