angular-spotify
angular-spotify copied to clipboard
Using Authorization Code Flow
Hi, do you consider using Authorization Code Flow so that we could get a refresh token to use when needed.
Yeah been thinking about changing it to use that flow. Maybe will change for the 2.0 release.
Eddie, thanks for this helpful service. It looks like you did a V2 release. Did you end up changing it to use the authorization code flow? I am able to get the access token, but not sure how to adjust to get a refresh token. Thanks much.
Hi @shawns582 haven't finished the v2 release yet. Finding time to do it :p Yes the different auth workflow is in the plans.
Awesome! Looking forward to it.
Some one can explain me how to store the token after the login? how can i use with the authorized api call? Pleaseee
What about that "Authorization Code Flow"?
I'm having the same problem. Would love to be able to refresh the token. Everything else is great! Thanks very much and looking forward to v2 :)
+1 on this, one of the most well-written and well-documented libraries I've come across. I find that if a user isn't authenticates, I cannot programmatically log them in, they need to click a button directly in order to initiate the popup window I think? Anyway, workaround for me is to check for a 401 error and tell the user to click the "login to spotify" button, then try the action again.
Sorry I haven't had any update on this. Haven't been working with Angular in the last few years and this project has fallen victim to that. I'll try and find some time to get this updated.