We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 724f0f8 + 3086a6d commit 03abaf8Copy full SHA for 03abaf8
example/src/pages/api/login.ts
@@ -15,7 +15,7 @@ const handler: NextApiHandler = (req, res) => {
15
const redirectParams = new URLSearchParams({
16
response_type: "code",
17
client_id: SPOTIFY_CLIENT_ID,
18
- scope: encodeURIComponent(SPOTIFY_SCOPES.join(" ")),
+ scope: SPOTIFY_SCOPES.join(" "),
19
redirect_uri: SPOTIFY_REDIRECT_URI,
20
state: state,
21
});
0 commit comments