summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <jonathan.huot@thomsonreuters.com>2018-10-31 12:38:49 +0100
committerJonathan Huot <jonathan.huot@thomsonreuters.com>2018-10-31 12:38:49 +0100
commit30ca674846c194ce037f780d83662d839efd0a32 (patch)
treeb34fee3a4d6b0628a7d7ab507416ce5e09bd5913
parent59a0cb748ad66d7b3a59848bae22e188fd3eec5c (diff)
downloadoauthlib-606-fatalclienterror.tar.gz
Wrong Client is also a FatalClientError606-fatalclienterror
FatalClientError is it SHOULD NOT be redirected to client (redirect_uri), but MUST be redirected to USERS (error_uri).
-rw-r--r--oauthlib/oauth2/rfc6749/errors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/errors.py b/oauthlib/oauth2/rfc6749/errors.py
index 8c8bda3..7ead3d4 100644
--- a/oauthlib/oauth2/rfc6749/errors.py
+++ b/oauthlib/oauth2/rfc6749/errors.py
@@ -224,7 +224,7 @@ class TemporarilyUnavailableError(OAuth2Error):
error = 'temporarily_unavailable'
-class InvalidClientError(OAuth2Error):
+class InvalidClientError(FatalClientError):
"""
Client authentication failed (e.g. unknown client, no client
authentication included, or unsupported authentication method).