Skip to content

Commit

Permalink
'Changed the redirect URL'
Browse files Browse the repository at this point in the history
  • Loading branch information
LVC1D committed Feb 25, 2024
1 parent 84c0573 commit f148b50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Spotify.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const getSpotifyToken = () => {
} else {
// Redirect the user to the Spotify authorization URL
const clientId = '5d558001059e4f058c05353caae87dee';
const redirectUri = 'http://localhost:3000/callback';
const redirectUri = 'https://illia-jammming.netlify.app';
const scope = 'user-read-private user-read-email playlist-modify-public playlist-modify-private';

const authorizationUrl = `https://accounts.spotify.com/authorize?client_id=${clientId}&redirect_uri=${encodeURIComponent(redirectUri)}&scope=${encodeURIComponent(scope)}&response_type=token&show_dialog=true`;
Expand Down

0 comments on commit f148b50

Please sign in to comment.