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
- Realtime: Listener not triggered on upda...
I self host appwrite 1.8.1. The genereal functionallity works fine. But my realtime subscription isn't updating. I see "Received heartbeat response from realtim...
- Impossible to get USER after createEmail...
Am using provider to deal with functions linked to appwrite. Here is my login. Future<String?> login(String email, String password) async { try { aw...
- 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...