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
- apple exchange code to token
hello guys, im new here 🙂 I have created a project and enabled apple oauth, filled all data (client id, key id, p8 file itself etc). I generate oauth code form...
- Current User is Not authorized
recreating same Thread
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...