Announcements

logging a single user via Spotify app with required scope at backend

Reply

logging a single user via Spotify app with required scope at backend

Visitor

Hello!

          I have a Spotify app and want to get user's(same account from which the app is created) access token at back end and use that token for web api access. Is it possible? Or can I fix access token(of the user) at back end, once generated and refresh it time to time.

1 Reply

Re: logging a single user via Spotify app with required scope at backend

Rock Star 16
Rock Star 16

Hey @dsdev, thanks for reaching out on the Spotify Community!

 

There's more information about the ways you can request access tokens here: https://developer.spotify.com/documentation/general/guides/authorization-guide/. If you're looking for a refreshable user token, you can choose for an: Authorization Code. Let me know if you have any questions!

 

Have a good one, happy coding,

Hubo

HuboRock Star 16
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
SUGGESTED POSTS