lint
This commit is contained in:
1 parent
ff5131018b
commit
f73aefce4e
1 file changed
+1
-1
@@ -87,7 +87,7 @@ class OpenIDProvider(AuthProvider[OIDCRequest]):
|
||||
algorithm = settings.OIDC_SIGNING_ALGORITHM
|
||||
try:
|
||||
claims = JsonWebToken([algorithm]).decode(s=self.data.id_token, key=jwks, claims_cls=CodeIDToken)
|
||||
except UnsupportedAlgorithmError as e:
|
||||
except UnsupportedAlgorithmError:
|
||||
self._logger.error(
|
||||
f"[OIDC] Unsupported algorithm '{algorithm}'. Unable to decode id token due to mismatched algorithm."
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user