Skip to content

Commit

Permalink
fix: correct id token type in token exchange response (#3625)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Sep 5, 2023
1 parent 7473259 commit d1f9ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion oauth2/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -909,7 +909,7 @@ type oAuth2TokenExchange struct {
Scope string `json:"scope"`

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

// The access token issued by the authorization server.
AccessToken string `json:"access_token"`
Expand Down

0 comments on commit d1f9ba8

Please sign in to comment.