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
- Update user email using OTP
Hi, I am trying to implement email update using OTP, there is not password associated with the account. One solution I found online is creating appwrite functio...
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- [SOLVED] curl error Number: 6 — function...
Hello, I invested a lot of time in this error in a fresh install of appwrite 1.8.1 and lasted until fix, this if for helping anyone that can have the same weird...