diff options
author | Free Duerinckx <free.duerinckx@vikingco.com> | 2018-09-20 15:48:12 +0200 |
---|---|---|
committer | Free Duerinckx <free.duerinckx@vikingco.com> | 2018-09-20 15:48:12 +0200 |
commit | 5873be567db7447ac7992357b6fd61c5dc5b4bf1 (patch) | |
tree | ddec45dcebbf41f8ba8c12755c1ece85c2bca263 | |
parent | 27c58af3fc4a5d63083d4f46423644a9b5134c5e (diff) | |
download | oauthlib-5873be567db7447ac7992357b6fd61c5dc5b4bf1.tar.gz |
fixup! `invalid_grant` status code should be 400
-rw-r--r-- | oauthlib/oauth2/rfc6749/errors.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oauthlib/oauth2/rfc6749/errors.py b/oauthlib/oauth2/rfc6749/errors.py index 482c740..8c8bda3 100644 --- a/oauthlib/oauth2/rfc6749/errors.py +++ b/oauthlib/oauth2/rfc6749/errors.py @@ -246,6 +246,8 @@ class InvalidGrantError(OAuth2Error): owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. + + https://tools.ietf.org/html/rfc6749#section-5.2 """ error = 'invalid_grant' status_code = 400 |