Closed fquirogam closed 7 years ago
Spotify offers an implicit grant solution so it was used in favor of the explicit alternative. Implicit grants do not issue refresh tokens as they are designed for client facing applications.
While some providers in this library use explicit grants, it is best to have them done server side due to the client secret key.
Best,
So, for me (since from access_token there is no way to get the refresh token) I have to completely ignore this library and make my own authentication flow?
Access tokens have expiration times. You have a few options:
I encourage you to read about oauth, implicit grants, and explicit grants and fully understand what is happening with each. Your users will appreciate proper security within your application.
Best,
Is there anyway to get refresh token from the spotify oauth? I'm only getting the accessToken