Skip to content

Commit

Permalink
fix: incorrect field name
Browse files Browse the repository at this point in the history
  • Loading branch information
daic0r committed Sep 26, 2024
1 parent 6f7cdf8 commit 989d6cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ type TokenRequest struct {
RefreshToken string `json:"refresh_token,omitempty"`

// Code and CodeVerifier are required if GrantType is 'pkce'.
Code string `json:"code,omitempty"`
Code string `json:"auth_code,omitempty"`

// Code and CodeVerifier are required if GrantType is 'pkce'.
CodeVerifier string `json:"code_verifier,omitempty"`
Expand Down

0 comments on commit 989d6cb

Please sign in to comment.