From 0fd590f988ea4957eaa673c2608fe5c6ee8a8562 Mon Sep 17 00:00:00 2001 From: pu098 Date: Mon, 11 Mar 2024 15:04:54 -0700 Subject: [PATCH] Revert "removed unnecessary scope" This reverts commit 6b160963780fb08c81be7a937d839a284f7093a8. --- src/beatbuddy/src/spotify/spotifyAuth.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/beatbuddy/src/spotify/spotifyAuth.ts b/src/beatbuddy/src/spotify/spotifyAuth.ts index 661db28e..47eae7ef 100644 --- a/src/beatbuddy/src/spotify/spotifyAuth.ts +++ b/src/beatbuddy/src/spotify/spotifyAuth.ts @@ -7,10 +7,12 @@ const REDIRECT_URI = process.env.REACT_APP_SPOTIFY_REDIRECT_URI_PROD; const AUTHORIZATION_ENDPOINT = 'https://accounts.spotify.com/authorize'; const TOKEN_ENDPOINT = 'https://accounts.spotify.com/api/token'; -const SCOPE = `user-read-private - playlist-modify-public - playlist-modify-private - streaming`; +const SCOPE = 'user-read-private \ + playlist-modify-public \ + playlist-modify-private \ + user-library-modify \ + user-read-playback-state \ + streaming'; /** * Redirects the user to the Spotify Accounts service to authorize access