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.
Summary
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
Oct 30, 2023, 02:56
You can't create a session out of nothing at the moment so trying to do so would be hacky
Nexen
Rank 1: Thread
Oct 30, 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)