You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using django rest fw social oauth2 after following the installation guide to a t.
The grant_type conver_token works fine, but if I try to POST a request where the grant type is refresh_token, I get a 400 response with the following body:
{"error":"unsupported_grant_type"}
This happens both with the browsable API, with axios, and with curl.
This is what a request looks like with curl:
curl -X POST -d "grant_type=refresh_token&refresh_token=...&client_id=...&client_secret=..." http://127.0.0.1:8000/auth/convert-token/
My team and I are constantly using this framework and it seems it has died out there. I contacted the owner by email asking if he would add some of us as maintainers so we could continue to improve it. However we didn't get a response.
I am publishing the project under my profile and we are going to continue to invest time in it.
I'm using django rest fw social oauth2 after following the installation guide to a t.
The grant_type
conver_token
works fine, but if I try to POST a request where the grant type isrefresh_token
, I get a 400 response with the following body:This happens both with the browsable API, with axios, and with curl.
This is what a request looks like with curl:
This is my settings file: https://github.com/samul-1/sai_training/blob/master/core/settings/base.py
What could be causing this?
The text was updated successfully, but these errors were encountered: