Back

How can I generate a JWT token using REST API?

  • 0
  • REST API
Lackson Munthali
7 Feb, 2024, 14:05

I want that when I post my email and password, I should receive a JWT or a response indicating invalid credentials. When I use this endpoint, https://cloud.appwrite.io/v1/account/jwt, it generates a token regardless of whether the user credentials are correct or not.

TL;DR
Developers want to know how to generate a JWT token using the REST API. They currently have an issue where the endpoint they are using generates a token regardless of whether the user credentials are correct or not. They are looking for a solution to receive a JWT or an indication of invalid credentials.
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