Skip to content
Back

Asymetric Authentication for Appwrite similar to supabase.

  • 0
  • 2
  • Cloud
parrykhai#6996
14 Oct, 2025, 06:42

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?

TL;DR
Appwrite supports JWT for authentication like Supabase. Network calls are always needed but session validity only needs to be checked if an error occurs. New feature introduced eliminates the need for checking the session validity on each call, reducing latency. No need to use or send JWT unless the request fails.
14 Oct, 2025, 07:43

Avoid cross posting 😅

1
14 Oct, 2025, 07:43

As mentioned, yes, Appwrite supports JWT

14 Oct, 2025, 07:44

And no, network calls are always needed, even in supabase, if I'm not wrong

14 Oct, 2025, 07:45

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

14 Oct, 2025, 09:51

Yes sorry about that

14 Oct, 2025, 09:52

It used to require, but they have introduced new feature where it does not.

14 Oct, 2025, 09:54

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

14 Oct, 2025, 10:10

ohh ok thanks

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more