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
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?
- OAuth2 Provider is disabled automaticall...
Hi everyone, I'm using self-host Appwrite 1.7.4. I can setup OAuth2 with Google successfully, however the provider is disabled automatically after one day witho...
- Disabling registration
Is it possible to disable registration in self hosted ?