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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Flutter Android oAuth is no more working
I currently don't get the oAuth login to work in flutter android. it works on ios and on web. but when try to use it on Android, i get to the point where the ca...
- I'm experiencing a critical bug on Appwr...
Hey <@870607367597850624> team / support 👋 I'm experiencing a critical bug on Appwrite Cloud that's blocking my production Flutter app. I've already filed GitH...