diff --git a/src/verify-signature.ts b/src/verify-signature.ts index 2c36071..be4fc5a 100644 --- a/src/verify-signature.ts +++ b/src/verify-signature.ts @@ -70,7 +70,7 @@ export const verifySignatureWithJwks = async (jwks: string, signature: string, r await jose.flattenedVerify(jws, localJwks); debug("JWKS verified"); } catch (error) { - debug("JWKS verification failed with error", error); + debug("JWKS verification failed with error", localJwks, jws); throw new Error("JWKS verification failed"); } };