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
- `type 'Null' is not a subtype of type 'b...
When creating a new file using Appwrite Flutter SDK, the file is successfully created on the server, but the client throws the following exception: ``` type ...
- Console: Query on attribute has greater ...
I noticed an issue when one of my tables reached over ~800 rows. That table is relational to my users table Within the console I am able to view the table with ...
- Appwrite 1.8.1 - Traefik Returns 404 Due...
Problem: Fresh Appwrite 1.8.1 installation returns 404 on all requests. Traefik can't communicate with Docker daemon. Error: Error response from daemon: client ...