sswastik02Original post
Rank 2: Process
I am creating a function that will validate the jwt that comes in the headers(x-appwrite-user-jwt), and then perform some db operation.
I am using node-18 to write the cloud functions, I am thinking of using jsonwebtoken to validate the JWT, but I can't seem to find the SECRET of the JWT that appwrite uses to sign.
How do I set SECRET for the appwrite to use in JWT.
Summary
The user is looking for a way to validate a JWT in cloud functions using Node.js 8. They are considering using the 'jsonwebtoken' package, but they can't find the secret key that Appwrite uses to sign the JWT. The solution is to set the secret key for Appwrite to use in the JWT.