Up to certain point Discord Oauth2 API returned same access and refresh token for same users when sending request to /oauth2/token with code from query (if it has not been revoked, refreshed or expired before). But now I noticed that it returns a new access and refresh tokens for every request as soon as previous access token is still valid. Is it normal?
#Oauth2 re-creates access token
4 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
That question you should be asking in ddevs, I'm not sure if that's the behavior but why are you trying to re authorize before token expires? Store it somewhere, like cookies or something.
For example, user can authorize via pc and smartphone at once