mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-06 05:55:23 +02:00
lint
This commit is contained in:
parent
ff5131018b
commit
f73aefce4e
1 changed files with 1 additions and 1 deletions
|
@ -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."
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue