jazzband / django-oauth-toolkit

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

Refresh token, report error: {"error": "invalid_grant"} #1342

Open oyty opened 11 months ago

oyty commented 11 months ago

https://django-oauth-toolkit.readthedocs.io/en/latest/rest-framework/getting_started.html

curl -X POST -d "grant_type=refresh_token&refresh_token=&client_id=&client_secret=" http://localhost:8000/o/token/

report error: {"error": "invalid_grant"}

django-oauth-toolkit==2.3.0

IgorDeo commented 7 months ago

Same problem here!

saadshaikh3 commented 3 months ago

Same problem. Any update?

Edit: My authorization code was expired. Signing In again resolved the issue.