diff --git a/oidc_provider/lib/endpoints/token.py b/oidc_provider/lib/endpoints/token.py index f98a8786..c32f8852 100644 --- a/oidc_provider/lib/endpoints/token.py +++ b/oidc_provider/lib/endpoints/token.py @@ -155,7 +155,7 @@ def validate_requested_scopes(self): if scope_requested in self.client.scope: token_scopes.append(scope_requested) else: - logger.debug('[Token] The request scope %s is not supported by client %s', + logger.error('[Token] The request scope %s is not supported by client %s', scope_requested, self.client.client_id) raise TokenError('invalid_scope') # if no scopes requested assign client's scopes diff --git a/oidc_provider/version.py b/oidc_provider/version.py index 10cf218a..45a85473 100644 --- a/oidc_provider/version.py +++ b/oidc_provider/version.py @@ -1 +1 @@ -__version__ = '0.8.2+orm' +__version__ = '0.8.3+orm'