From 5afd2b06f238936dc294a10d6d42bb1e84cec5f2 Mon Sep 17 00:00:00 2001 From: Brian Strauch Date: Sat, 3 Jul 2021 11:04:34 -0500 Subject: [PATCH] fix login bug --- internal/login/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/login/login.go b/internal/login/login.go index c18e26e..297c9ac 100644 --- a/internal/login/login.go +++ b/internal/login/login.go @@ -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 }