adding client info

This commit is contained in:
2025-11-23 20:56:06 +00:00
parent 002935a724
commit e14233208d

View File

@@ -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,