Closed arcoraven closed 2 months ago
Example usage:
const payload = {}; const token = jsonwebtoken.sign(payload, privateKey, { algorithm: "RS256", expiresIn: "120s", keyid: publicKey, }); // Set header `Authorization: Bearer ${token}` when calling Engine.
The focus of this PR is to enhance authentication middleware by decoding JWT tokens and extracting public keys for keypair authentication.
✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
/codex {your question}
Example usage:
PR-Codex overview
The focus of this PR is to enhance authentication middleware by decoding JWT tokens and extracting public keys for keypair authentication.
Detailed summary