diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2018-09-21 09:43:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-21 09:43:50 +0200 |
commit | 127a3b58df22798bad9bb2e30743c2401c978d8a (patch) | |
tree | f0750c8ccb5239d13b42e3a38302c7ed52b43098 /oauthlib/oauth2 | |
parent | a77fb1f1a9a9295553d29f20b5cdb6bbeb22cb78 (diff) | |
parent | 326456cb78eb6b50e6f44f01cb0eaccc7652cf1f (diff) | |
download | oauthlib-127a3b58df22798bad9bb2e30743c2401c978d8a.tar.gz |
Merge branch 'master' into fix-585_client_id
Diffstat (limited to 'oauthlib/oauth2')
-rw-r--r-- | oauthlib/oauth2/rfc6749/errors.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/errors.py b/oauthlib/oauth2/rfc6749/errors.py index d17e08e..8c8bda3 100644 --- a/oauthlib/oauth2/rfc6749/errors.py +++ b/oauthlib/oauth2/rfc6749/errors.py @@ -246,9 +246,11 @@ 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 = 401 + status_code = 400 class UnauthorizedClientError(OAuth2Error): |