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
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- self-hosted auth: /v1/account 404 on saf...
Project created in React/Next.js, Appwrite version 1.6.0. Authentication works in all browsers except Safari (ios), where an attempt to connect to {endpoint}/v1...
- My account is blocked so please check an...
My account is blocked so please unblock my account because all the apps are closed due to which it is causing a lot of problems