Closed konsalex closed 2 years ago
Hey there, I have an issue when I try create a new access token.
In the browser I get an error: {"detail":"Invalid token header. No credentials provided."}
{"detail":"Invalid token header. No credentials provided."}
While with curl I get the following:
{"error":"invalid_grant"}
curl -X POST -d "grant_type=refresh_token&client_id=LVsasqYdCufTgrvdIKkDJ9VisYzp5Zq8vXnTZtTO&client_secret=p3o3FHrflqIXsFt2l8XzzCJSuZMVNT5u5kkfjNI9S3P8tkFbB0sfOc2oJ5h0qO5Ri63c9urxtaoLHP84qVv6FYUVzxzmGxdpOam5hvEOcwjQK5mvE3VIAPKEEgdCyzPZ&refresh_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbiI6Ik1PcHZYeXNuNVVjMldpRlk3cnRvWExBOEIxQkE5cCJ9.RWsgpAXacTJsfYRyhzUG5fTTwEVvdQLGcp66lJF9I8k" http://localhost:8000/auth/token
Any clue how to solve this?
Found: https://github.com/jazzband/django-oauth-toolkit/issues/432
Hey there, I have an issue when I try create a new access token.
In the browser I get an error:
{"detail":"Invalid token header. No credentials provided."}
While with curl I get the following:
{"error":"invalid_grant"}
Any clue how to solve this?