diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2018-11-01 14:03:41 +0100 |
---|---|---|
committer | Omer Katz <omer.drow@gmail.com> | 2018-11-01 15:03:41 +0200 |
commit | 15e4f63504c93de7659e26336e95cff61859af11 (patch) | |
tree | b34fee3a4d6b0628a7d7ab507416ce5e09bd5913 | |
parent | 59a0cb748ad66d7b3a59848bae22e188fd3eec5c (diff) | |
download | oauthlib-15e4f63504c93de7659e26336e95cff61859af11.tar.gz |
Wrong Client is also a FatalClientError (#608)
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.py | 2 |
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). |