Skip to content

Commit d1f9ba8

Browse files
authored
fix: correct id token type in token exchange response (#3625)
Closes ory/client-go#2
1 parent 7473259 commit d1f9ba8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oauth2/handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ type oAuth2TokenExchange struct {
909909
Scope string `json:"scope"`
910910

911911
// To retrieve a refresh token request the id_token scope.
912-
IDToken int `json:"id_token"`
912+
IDToken string `json:"id_token"`
913913

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

0 commit comments

Comments
 (0)