summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFree Duerinckx <free.duerinckx@vikingco.com>2018-09-20 15:48:12 +0200
committerFree Duerinckx <free.duerinckx@vikingco.com>2018-09-20 15:48:12 +0200
commit5873be567db7447ac7992357b6fd61c5dc5b4bf1 (patch)
treeddec45dcebbf41f8ba8c12755c1ece85c2bca263
parent27c58af3fc4a5d63083d4f46423644a9b5134c5e (diff)
downloadoauthlib-5873be567db7447ac7992357b6fd61c5dc5b4bf1.tar.gz
fixup! `invalid_grant` status code should be 400
-rw-r--r--oauthlib/oauth2/rfc6749/errors.py2
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