I am able to create a magicURL and send it via email. After I click the email it redirects to my app but nothing happens. Should I handle it myself somehow? I couldnt find anything regarding to that in the documentation.
Hi
What is your intended result?
I want to log in my app using MagicURL. But I couldnt find anything on docs to how to handle the data comes from it. does the sdk handles it or should handle it myself?
You need parse secret and user ID from the URL query params. Then put that into Appwrite SDK account.updateMagicURLSession(). With that finished, user is logged in. Relevent docs:
does appwrite have an example how to extract the secret and the userID from the URL query in flutter?
Just making a note that this support request is also posted here, to prevent duplicate responses: https://discord.com/channels/564160730845151244/1091030567849562112
Recommended threads
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...