mxstbr / passport-magic-login

Passwordless authentication with magic links for Passport.js.
MIT License
664 stars 45 forks source link

Send magic link without API call? #35

Open neilrackett opened 8 months ago

neilrackett commented 8 months ago

Thank you for your great work on this strategy!

Is there an existing way to send or generate a magic link using just JavaScript, without needing to do it via a POST/GET call (which the current send() method is specifically designed to do)?

It would be great to be able to send or generate magic links from within a custom API endpoint, for example:

adrianbienias commented 5 months ago

I'd love to have that possibility too. Any chance you found a solution for this?