Where can I find the secret to verify a JWT token ?
TL;DR
The user is asking where they can find the secret to verify a JWT token. Another user suggests using SSR (Server-Side Rendering) and provides a link to the Remix SSR library. However, the user believes that it would have been useful to mix several backends. Another user suggests accessing secret fields on the session table in MariaDB by providing a JSON example. However, it is mentioned that you cannot access the secret via API as Appwrite validates JWT on its own.Thinks that you can't via API, appwrite validate JWT on his own
If you can access MariaDB, you can access secret fields on session table, like
TypeScript
{
"data": "cI3VEjVgLn4X9fTZ9fqQtHuSLZkV6UrtEuxoA8AMS/8Q4LesSJistkag8fjYwtRXGhDnCUSgMj+SbkoyYJXq1g==",
"method": "aes-128-gcm",
"iv": "ddc5a356a6f7fcc67566db4c",
"tag": "17d14e16609d19c82d591413109ab076",
"version": "1"
}
Ok, thanks. What a pity this could have been very useful to mix several backend.
You can use SSR perhaps ? Core team maintain : https://remix.ssr.almostapps.eu/
Recommended threads
- hi guys! my site is not accesible in my ...
- MongoDb Database Breaks integer[] & bigi...
I've got a table with the below column created. When I try to insert the value `[-3408048000]` into it, the dart sdk cloud function call is successful (no error...
- Delete on cascade from Cloud Function
I'm writing a Python function that deletes a user's main row from a table in my database. This row has relationships with other tables that use cascade deletion...