Skip to content

Commit

Permalink
fix: correct id token type in token exchange response
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Sep 5, 2023
1 parent 7473259 commit 615725a
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 615725a

Please sign in to comment.