Skip to content

Commit

Permalink
Fix grant type (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonatascastro12 authored Aug 14, 2023
1 parent 5f78c84 commit 8395c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/users/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ func (c *Client) AuthenticateUserWithPassword(ctx context.Context, opts Authenti
payload := struct {
AuthenticateUserWithPasswordOpts
ClientSecret string `json:"client_secret"`
GrantType string `json:"grant_type`
GrantType string `json:"grant_type"`
}{
AuthenticateUserWithPasswordOpts: opts,
ClientSecret: c.APIKey,
Expand Down

0 comments on commit 8395c59

Please sign in to comment.