Is there any way to do asymmetric authentication of Appwrite users on the server side without making a network call? This can result in a huge reduction in latency. Just like they have in supabase https://supabase.com/blog/jwt-signing-keys. If not is it in development for future?
As mentioned, yes, Appwrite supports JWT
And no, network calls are always needed, even in supabase, if I'm not wrong
A different thing is not checking the session validity on each call, only if an error occurs, that way you have low latency. For that you don't need JWT or anything, just run account.get() if some request fails
Yes sorry about that
It used to require, but they have introduced new feature where it does not.
As mentioned, unless you use some kind of SSR that doesn't uses Appwrite's permission, you don't need to use or send the JWT or check the session, only if the request fails
ohh ok thanks
Recommended threads
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...
- Error can not create `tablesdb` event wi...
When i'm trying to add an event with `tablesdb` i get an error message My event value: `tablesdb.mtg-decklist-dev.tables.queue_parsing.rows.*.create` Same err...