react-spotify-auth
react-spotify-auth copied to clipboard
Refresh token?
Hello,
From what I'm reading, you're supposed to always get a refresh token along with your access token. However, I'm not seeing one in the URL after I return from the auth. Is there something I'm missing?
This library uses Implicit Grant flow to keep it simple, meaning that Spotify doesn't provide a refresh token
Do you have any plans to make this compatible with Authorization Code Flow with Proof Key for Code Exchange (PKCE)? That would be literally amazing as it's kind of annoying having to get your user to reauth every 2 hours.
That's a good question.
I'm currently doing a rewrite of it in typescript, but after that would you be interested in helping?
Once you've got the TS rewrite I'd be happy to create a PR with the PKCE Auth Flow. Just @ me on this thread whenever you've got a version ready for me to work with!
Using Auth Flow would need a Backend API to support it right?
Any updates on the Typescript rewrite and/or Authorization Code Flow? I'd be interested in helping out with the Typescript rewrite.
Any updates on the Typescript rewrite and/or Authorization Code Flow? I'd be interested in helping out with the Typescript rewrite.
Same here @kevin51jiang, I would like to help with the Typescript rewrite as well...