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
- hi guys! my site is not accesible in my ...
- Appwrite github organization error
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...