
I'm working on a new project using Appwrite as a backend. I have some experience with it, and i use it for some of my personal and hobby projects and for the first time, I'm building something customer facing with Appwrite. I'm building an API first service, using excellent FastAPI library as API for users. I hooked up frontend to Appwrite and on Appwrite side I'm using auth, Database, Storage and functions to manage stored files. API works with files where user uploads a file, and performs operations on it, some are fairly heavy and async with Celery. What I want to achieve is when user registers and creates an account, user would go to account settings and generate an API key (standard JWT) to authenticate each API call to API (upload files, process files, see current usage stats etc), and I can't figure out exactly how to do that. I tried create_token function from SDK but it's not working as expected. I can't seem to find any docs around this specific usecase. So to summarize; user creates account -> opens account settings -> generates JWT from Appwrite backend -> JWT doesn't expire (like OpenAI API for example or multitude of other REST API services) -> user uses JWT to authenticate endpoint interactions. Is that doable with Appwrite?
Recommended threads
- I can't use any Oauth
Login using oauth will be rejected because the redirect url does not match but appwrite give me the redirect url is https://**************/v1/account/sessions/o...
- coolify/appwrite ssl functions
(Sorry for m english, i'm french) Hello, i tried for 3 days to generate ssl for domain function like idfunction.appwrite.christophe-le-goff.dev. I install appwr...
- Changing password when logged using a OT...
I'm developping in flutter/dart, I'm using email token to login to an existing user: _sessionToken = await account.createEmailToken(userId: app.ID.unique(), ema...
