How to generate OAuth Token for user account from backend code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am building a test application using the Spotify API that (super simplified) generates a playlist and adds it to my Spotify account. Currently, the playlist is created using a POST call to
https://api.spotify.com/v1/users/user_id/playlists, which requires a USER_ID and OAUTH TOKEN to succeed. But the manual generated OAuth Token only works for one hour.
Is it possible to regenerate my user account's OAuth Token automatically in the NodeJS backend similar to Refresh Tokens for applications without having to login myself?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page