From e14233208d615b0ade112f8f2bd500a98279fca4 Mon Sep 17 00:00:00 2001 From: Adam French Date: Sun, 23 Nov 2025 20:56:06 +0000 Subject: [PATCH] adding client info --- backend/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/main.go b/backend/main.go index 5c9a4aa..ca0d755 100644 --- a/backend/main.go +++ b/backend/main.go @@ -33,11 +33,13 @@ func main() { authState := os.Getenv("SPOTIFY_AUTH_STATE") redirectURL := os.Getenv("SPOTIFY_REDIRECT_URI") - // clientID := os.Getenv("SPOTIFY_CLIENT_ID") - // clientSecret := os.Getenv("SPOTIFY_CLIENT_SECRET") + clientID := os.Getenv("SPOTIFY_CLIENT_ID") + clientSecret := os.Getenv("SPOTIFY_CLIENT_SECRET") auth := spotifyauth.New( spotifyauth.WithRedirectURL(redirectURL), + spotifyauth.WithClientID(clientID), + spotifyauth.WithClientSecret(clientSecret), spotifyauth.WithScopes( spotifyauth.ScopeUserReadPlaybackState, spotifyauth.ScopeUserReadCurrentlyPlaying,