feat(JWT Node): New node (#9005)

Co-authored-by: Giulio Andreini <andreini@netseven.it>
This commit is contained in:
Michael Kret
2024-04-10 13:16:48 +03:00
committed by GitHub
parent 9403657e46
commit 0a9f6b3de8
12 changed files with 1088 additions and 6 deletions

View File

@@ -287,7 +287,7 @@ export class Webhook extends Node {
if (expectedAuth.keyType === 'passphrase') {
secretOrPublicKey = expectedAuth.secret;
} else {
secretOrPublicKey = formatPrivateKey(expectedAuth.publicKey);
secretOrPublicKey = formatPrivateKey(expectedAuth.publicKey, true);
}
try {