Preserve DPoP header private key rejection

Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
Cursor AgentandJulius Marminge committed 2026-06-10 16:13:23 +00:00
1 parent 5b24144370
commit 23175df03a
1 file changed
+3 -1
+3 -1
View File
@@ -31,7 +31,9 @@ const DpopJwtPayload = Schema.Struct({
});
type DpopJwtPayload = typeof DpopJwtPayload.Type;
const decodeDpopJwtHeaderJson = Schema.decodeUnknownOption(Schema.fromJsonString(DpopJwtHeader));
const decodeDpopJwtHeaderJson = Schema.decodeUnknownOption(Schema.fromJsonString(DpopJwtHeader), {
onExcessProperty: "preserve",
});
const decodeDpopJwtPayloadJson = Schema.decodeUnknownOption(Schema.fromJsonString(DpopJwtPayload));
export class MissingDpopProofError extends Schema.TaggedErrorClass<MissingDpopProofError>()(