Back

JWT from another service

  • 0
  • Users
  • Accounts
Nexen
30 Oct, 2023, 02:17

Hello, is there a way to log in with jwt which i already have from another service? i found some documentation about jwt, but its always about creation from appwrite and its not entirely clear if we can use our token and also where to set params to verify the token against.

TL;DR
User is asking if it is possible to log in with a JWT from another service in Appwrite. They have found documentation about JWT creation in Appwrite but it is not clear if they can use their existing token. They mentioned Matrix Synapse as an example where the token is decoded and a user is created. They are asking if a similar feature is planned for Appwrite in the future.
Drake
30 Oct, 2023, 02:56

You can't create a session out of nothing at the moment so trying to do so would be hacky

Nexen
30 Oct, 2023, 02:59

Matrix synapse for example has it, is there a plan to do something like this in the future? (matrix synapse in background decodes the token and creates user and after that it matches it all the time)

Drake
30 Oct, 2023, 04:14
Nexen
30 Oct, 2023, 04:18

done thanks! ill wait for the implementation

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