diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2020-01-15 10:48:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-15 10:48:22 +0100 |
commit | 23d16f7d8a5ff9a05f89b4cc5bb0a04a47033672 (patch) | |
tree | 8b046af18f44891498fb29b033815c8c66a85851 | |
parent | 6e4fb41ffb04024d5301cadad662e6bbb4893901 (diff) | |
parent | a09a2ce979b886e81eb4e7fd3794ae4a050ff8fb (diff) | |
download | oauthlib-doc-custom-grant-type.tar.gz |
Merge branch 'master' into doc-custom-grant-typedoc-custom-grant-type
-rw-r--r-- | oauthlib/oauth2/rfc6749/grant_types/client_credentials.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py index fdb0bf6..05f13af 100644 --- a/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py +++ b/oauthlib/oauth2/rfc6749/grant_types/client_credentials.py @@ -117,8 +117,8 @@ class ClientCredentialsGrant(GrantTypeBase): # Ensure client is authorized use of this grant type self.validate_grant_type(request) - log.debug('Authorizing access to user %r.', request.user) request.client_id = request.client_id or request.client.client_id + log.debug('Authorizing access to client %r.', request.client_id) self.validate_scopes(request) for validator in self.custom_validators.post_token: |