Verifying JWS Signed Payload in Convex httpAction
I am currently working on verifying an Apple App Store notification's signed payload using a public key within a Convex httpAction. Below is a snippet of the code I am using:
I am unable to use the
jsonwebtoken
library directly in the code to verify the JWS signed payload.
Could you please provide a different recommended approach for verifying JWS signed payloads in this httpAction context?
Thanks!1 Reply
I've fixed the above issues, simply by sending the
signedPayload
directly to be processed by an action
: