Release: MFA, JWKS auth, run ownership, and dependency updates #79
@@ -71,7 +71,9 @@ def _verify_jwt(token: str) -> dict | None:
|
|||||||
algorithms=["RS256"],
|
algorithms=["RS256"],
|
||||||
audience="authenticated",
|
audience="authenticated",
|
||||||
)
|
)
|
||||||
except jwt.InvalidTokenError, PyJWKClientError:
|
except jwt.InvalidTokenError:
|
||||||
|
pass
|
||||||
|
except PyJWKClientError:
|
||||||
pass
|
pass
|
||||||
return _verify_jwt_hs256(token)
|
return _verify_jwt_hs256(token)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user