Back

How to create a custom authentication system?

  • 1
  • Web
  • Auth
  • Realtime
  • Self Hosted
  • Functions
Shivanshu Gupta
18 Nov, 2024, 17:57

I’m looking to create an Appwrite function that first verifies a client using some custom logic, like providing a secret key. Once this verification is complete, the function should respond with something essential that the client can use to authenticate to my Appwrite instance.

After this step, the client should be able to access the Appwrite instance independently. What would be the best approach to implement this workflow?

TL;DR
Developers are discussing how to create a custom authentication system using Appwrite. They are considering using JWT tokens for this purpose. The goal is to have the client authenticate using a secret key and then gain access to the Appwrite instance independently. The best approach suggested is to create an Appwrite function that first verifies the client using custom logic and then responds with authentication credentials.
Shivanshu Gupta
18 Nov, 2024, 17:57

@Raman

Raman
18 Nov, 2024, 17:59

cc: @D5 @darShan

Can JWT token do this?

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