How do I use mgic url in iOS? I can’t create the email that is sent to the user myself. and i cant create uapple-app-site-association
You need to implement deep linking so that the URL in the email will link into the app where you can extract the secret and finish the flow
cant understand. what about this 3. Hosting apple-app-site-association file You need to host an apple-app-site-association file in the web domain. This file tells the mobile browser which iOS application to open instead of the browser. To create the file, get the app ID of the Flutter app you created in the previous step.
There are no good instructions on the Internet how i can use Appwrite magic link
apple-app-site-association isn't an explicit requirement but can be useful. All you need to do is use deep-linking for Magic Url Auth.
Request session via magic link, user receives the link, user clicks it, a site url opens, here you should use deeplink so that when the page opens, it tries to pass the userId, secret to your app via deeplink.
Process the userId & secret to create a session.
Deep linking is not an appwrite specific thing. Whatever you find online should be applicable.
Recommended threads
- 403 The current user has been blocked.
Hello, I have a free plan; I've tried to access my project and I get the message "403 The current user has been blocked." I have database, sites, and auth in us...
- Am getting "The current user has been bl...
Was working on my app FLUTTER WEB APP, and suddenly, I have been blocked.... What can I do ? When I try to sign in to the console, I get "The current user has ...
- Guidance to safely upgrade Appwrite to l...
One of my old Flutter projects runs on a DO self-hosted Appwrite. Currently it's on appwrite: ^15.0.2 dart_appwrite: ^15.0.0 The app is live on the Play Stor...