Implementing Magic Link Authentication in Filemaker

Ali AK:
Is the magic link in production yet? I do not see an example page to use the magic link, and if we set authentication required how will all the pages redirect to the enter email page. Or are we supposed to just delete the password field in the login page?


Francis:
I’m implementing this in my app already.

You can keep the password field and would still work.

If you have auth in your page enabled, if user is not authenticated, it will redirect to your login page.


Ali AK:
Do I have to add a script in Filemaker to define the magic link request besides the email, and also set run utility to the magic link type or just add a new type in AuthNotifier. The documentation is not very clear


Francis:
Not a new script.

You need to add $type = "sendMagicLogin" in your BF - onAuthNotifier. Build your email and send.


Where do we find the code for the magic link button to add to the login page?

what do we need to include in the email ?