Skip to content

Commit

Permalink
fix login bug
Browse files Browse the repository at this point in the history
  • Loading branch information
brianstrauch committed Jul 3, 2021
1 parent a74ab94 commit 5afd2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/login/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func login() (*spotify.Token, error) {
}

// 4. Your app exchanges the code for an access token
token, err := spotify.RequestToken(internal.ClientID, code, RedirectURI, verifier)
token, err := spotify.RequestPKCEToken(internal.ClientID, code, RedirectURI, verifier)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 5afd2b0

Please sign in to comment.