-
Notifications
You must be signed in to change notification settings - Fork 816
Closed
Labels
Description
Hi!
I'm testing from scratch and i was following the documentation to implement Authorization Code grant type but at the moment that i made the request to get the access_token, i get {error: invalid_grant}. (I even extend the grant expire time)
I test different combination between this attributes and i succeeded using CODE_CHALLENGE
instead of CODE_VERIFIER
(django-oauth-toolkit/docs/getting_started.rst - line 308 & 319) -
just the value though, like code_verifier=${CODE_CHALLENGE}
Looking at those values, I think make sense:
If i'm right, maybe the bigger fix would be changing that flag -d code_challenger=${CODE_CHALLENGE}