mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 08:34:17 -05:00
lint
This commit is contained in:
@@ -87,7 +87,7 @@ class OpenIDProvider(AuthProvider[OIDCRequest]):
|
|||||||
algorithm = settings.OIDC_SIGNING_ALGORITHM
|
algorithm = settings.OIDC_SIGNING_ALGORITHM
|
||||||
try:
|
try:
|
||||||
claims = JsonWebToken([algorithm]).decode(s=self.data.id_token, key=jwks, claims_cls=CodeIDToken)
|
claims = JsonWebToken([algorithm]).decode(s=self.data.id_token, key=jwks, claims_cls=CodeIDToken)
|
||||||
except UnsupportedAlgorithmError as e:
|
except UnsupportedAlgorithmError:
|
||||||
self._logger.error(
|
self._logger.error(
|
||||||
f"[OIDC] Unsupported algorithm '{algorithm}'. Unable to decode id token due to mismatched algorithm."
|
f"[OIDC] Unsupported algorithm '{algorithm}'. Unable to decode id token due to mismatched algorithm."
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user