Skip to content

Commit

Permalink
Revert "removed unnecessary scope"
Browse files Browse the repository at this point in the history
This reverts commit 6b16096.
  • Loading branch information
pu098 committed Mar 11, 2024
1 parent c6c03c1 commit 0fd590f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/beatbuddy/src/spotify/spotifyAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fd590f

Please sign in to comment.