Hi everyone,
I'm running a self-hosted Appwrite instance and using it in a Flutter app for iOS. I’m implementing email OTP authentication with the following code:
await _account.createEmailToken( userId: userId, email: email, );
The issue I'm facing is that in the OTP email, it says that the login attempt happened from a browser. Also, when checking the user’s sessions in Appwrite, the session is always recorded as:
BROWSER AND DEVICE: "Mobile Safari on iOS 18.2"
This is misleading since the request originates from my Flutter app on iOS, not from a browser. Is there a way to make Appwrite recognize this as a mobile app session instead? Any insights or workarounds would be greatly appreciated!
Thanks!
Any chance you can inspect the network request made by the SDK?
And look at the user agent header?
Recommended threads
- Bulk API limitations in self-hosted serv...
Environment: Appwrite Selfhost SDK: node-appwrite 28.0 Calling `upsertRows` (also applies to `createRows`/`updateRows`/`deleteRows`) with more than 100 rows fa...
- Self Hosted GitHub connection not adding...
After upgrading to 1.9.6 i noticed that i cannot search for new repositories when trying to add new functions. I removed the existing github connection via Set...
- Getting current user has been blocked
Getting current user has been blocked error while signing in the appwrite console. Got this during I am testing with the my saas web project. Please help to unb...