diff --git a/mealie/core/security/providers/openid_provider.py b/mealie/core/security/providers/openid_provider.py index af8cd83fa54a..15e66573b868 100644 --- a/mealie/core/security/providers/openid_provider.py +++ b/mealie/core/security/providers/openid_provider.py @@ -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." )