Preserve DPoP header private key rejection
Co-authored-by: Julius Marminge <[email protected]>
This commit is contained in:
1 parent
5b24144370
commit
23175df03a
1 file changed
+3
-1
@@ -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>()(
|
||||
|
||||
Reference in new issue
Block a user