
I have a self-hosted Appwrite container. I also have a www page (A) which should acts as login page for different www services (B). User click login in B, is redirected to A, logs in, he is redirected back to A. On A is executed Appwrite function and Appwrite sets cookie with a session to the domain B. it works. But the same scheme doesn't work for the apps, in my case Flutter app. I want in Flutter to click login button, be redirected to the website A, login and be redirected back with working session (kinda like SSO works). So my question is: How to implement this? Currently it works for me only via JWT tokens, but they expire very soon. How to open session in the Flutter app after being logged in the browser? What is the exact algorithm? Thanx a lot for any help!
Recommended threads
- Type String is not a subtype of type int...
In flutter using appwrite: ^17.1.0, ```DocumentList response = await databases!.listDocuments( databaseId: "xxx", collectionId: "xxx", ...
- Appwrite Google OAuth token error
Hello, I am developing an application using React Native, Expo Router, and Appwrite. Since this afternoon, I have been encountering errors related to authentic...
- Invalid `success` param
Hi again, I've tried to set up the login process. However, I always get the message: `Invalid success param: URL host must be one of: localhost, xxx` I've alr...
