Hi! I got a website as well as a desktop app. The user can log in exclusively using oAuth. This poses the problem that I can't just show a login form in the local app. Instead my plan was to have the app open up the website, have the website handle the auth and pass back the token to the app. However since AppWrite handles sessions using cookies that I have no access to, it's pretty much impossible to do it that way. Is there any good way to solve this?
Might be worth tryin w/ JWT - https://appwrite.io/docs/products/auth/jwt
I would, but they expire after 15 minutes, so it wouldn't survive for long
Recommended threads
- Middleware
how to make middleware in nextjs appwrite with client side auth?
- Bug: Cloud Function On Schedule Didn't R...
Heya I have a cloud function with this cron `0 17 * * *` to run at 9AM PT every day. I have not touched this since I set it up, and it has been working fine s...
- functions
Code for function not being created in Github. Permissions are set correctly, repository is created, however no code is in the created repository. Just trying...