Back

[SOLVED] Need to Obtain JWT Token

  • 0
  • Databases
  • Web
jokernifty
4 Dec, 2023, 15:16

Hi, I am creating a login system in unity where it connect with appwrite for account creation and sessions, but moving further, I need to create databases within the application to appwrite, for that I need JWT token while creating a document, How to get JWT Token from appwrite to use it in Unity

TL;DR
Title: [SOLVED] Obtaining JWT Token in Unity for Appwrite Messages: - In order to create a JWT token for your Unity login system with Appwrite, you need to be authenticated. - The JWT token has a short lifespan. - In version 1.5, Appwrite plans to add support for creating sessions using a server SDK, which could be a solution for you. - However, if you need immediate assistance, you can write your own SDK to obtain the JWT token. - Unfortunately, there is no specific solution mentioned in the thread.
Drake
4 Dec, 2023, 15:50

You need to be authenticated in order to create a JWT token. The JWT token also has a very short lifespan.

In 1.5, we're planning to add support for creating sessions using a server SDK so that might be a solution for you

jokernifty
7 Dec, 2023, 19:05

Sorted it out, wrote my own SDK👍🏻

Drake
7 Dec, 2023, 20:33

[SOLVED] Need to Obtain JWT Token

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