Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
Plan
Premium
Country
India (IN)
Device
Lenovo ThinkPad E14 Gen 2
Operating System
Ubuntu 22.04.4 LTS
My Question or Issue
Is it possible to handle the entire authorization code flow within the server itself? I prefer avoiding the redirection flow because I want to shield the client from the intricacies of the authorization process.
In my use case, I need to transmit user-related information (which remains constant) to the client. However, the client need not concern itself with Spotify authentication or other specifics.
Currently, I’m developing an app that displays the music I’m currently listening to. The front-end app will retrieve this information by calling an API, which will simply return the track ID. Despite exploring various options, I haven’t found a straightforward way to achieve this.
Solved! Go to Solution.
Hi @Ximzend, I've developed my own authentication strategy wherein I store the authorization code, initially generated manually by pasting the URL and setting up a callback URL, on the server side. Later, I utilize the @spotify/spotify-web-api-ts-sdk to extract the code from the database and complete the authentication process. This fantastic library handles token fetching and refreshing seamlessly
Implementation Details: status.get.ts
Tip: search this community. I've answered this question this week already (and in multiple other occasions).
Hi @Ximzend, I've developed my own authentication strategy wherein I store the authorization code, initially generated manually by pasting the URL and setting up a callback URL, on the server side. Later, I utilize the @spotify/spotify-web-api-ts-sdk to extract the code from the database and complete the authentication process. This fantastic library handles token fetching and refreshing seamlessly
Implementation Details: status.get.ts
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…