jazzband / django-oauth-toolkit

OAuth2 goodies for the Djangonauts!
https://django-oauth-toolkit.readthedocs.io
Other
3.13k stars 792 forks source link

/token not returning the new refresh token #1388

Open digoburigo opened 8 months ago

digoburigo commented 8 months ago

I want to know if when a make a POST request to /token with grant_type=refresh_token, the next time I do a GET in /token the old refresh_token it's returned instead of the new one. Is someone having this issue too?

Gr3at commented 8 months ago

is GET even allowed in the /token endpoint? Tried to reproduce your issue, but getting HTTP 405 when making a GET request on that endpoint.