diff --git a/src/pages/_callback.astro b/src/pages/_callback.astro index a6de1cf..3952e1b 100644 --- a/src/pages/_callback.astro +++ b/src/pages/_callback.astro @@ -37,7 +37,7 @@ if (userAuthCode) { .catch((err) => console.error(err)); } -const href = `https://accounts.spotify.com/authorize?response_type=code&client_id=${SPOTIFY_CLIENT_ID}&scope=user-read-currently-playing&redirect_uri=${SPOTIFY_REDIRECT_URI}`; +const href = `https://accounts.spotify.com/authorize?response_type=code&client_id=${SPOTIFY_CLIENT_ID}&scope=user-read-currently-playing user-top-read&redirect_uri=${SPOTIFY_REDIRECT_URI}`; ---