Back

How to use JWT

  • 0
  • Self Hosted
  • Web
BloodThermic
27 Nov, 2023, 05:59

I am trying to get the account Id from the server side and it says i need to use a jwt token and was wondering if I can use a api token instead.

TL;DR
The user wants to know if they can use an API token instead of a JWT token to get the account Id from the server side. The response to this question is not provided.
Drake
27 Nov, 2023, 16:44

It really depends on the context. JWT tokens are used if you're doing something on behalf of the user. Otherwise, you can use an API key.

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