From a1e20e0f04e04ee0783462e4922903423f6acc02 Mon Sep 17 00:00:00 2001 From: Kit Dallege Date: Mon, 29 Jan 2024 20:09:15 -0500 Subject: [PATCH] increased log level from debug to error in validate_requested_scopes. --- oidc_provider/lib/endpoints/token.py | 2 +- oidc_provider/version.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'