Announcements

Help Wizard

Step 1

NEXT STEP

Redirect URI with mixed server and client sides

Redirect URI with mixed server and client sides

Plan

Premium

 

Operating System

Windows 10

 

My Question or Issue

Hello! 😄

I have a question about the TypeScript SDK that Spotify provides.

I saw that I have the option to use mixed server and client side authorization for the user, which is exactly what I need.

My problem is the Redirect URI. When I use it, I saw that it adds the /code to it, and that way I could perform the authorization, which is kinda confusing since it changes the URL at my client, and that information should be passed to the server.

It also don't make sense, since in the documentation, it tells to pass another route which will get the access token (which is doesn't, since it redirects to the Redirect URI and not that)

 

I was wondering if I am doing something wrong, and how should I fix that?

What I want to do is make the user authenticate at my client side, and that the request with the access token will be sent to the server, allowing me to connect at the back and pass Spotify's information from there.

 

Thanks in advance for any help! 🙂

Reply
0 Replies

Suggested posts

Let's introduce ourselves!

Hey there you,   Yeah, you! 😁   Welcome - we're glad you joined the Spotify Community!   While you here, let's have a fun game and get…

ModeratorStaff / Moderator/ 4 years ago  in Social & Random