{"repo":"mxstbr/passport-magic-login","free":true,"listed":false,"github":"https://github.com/mxstbr/passport-magic-login","clone":"git clone https://github.com/mxstbr/passport-magic-login.git","description":"Passwordless authentication with magic links for Passport.js.","language":"TypeScript","stars":676,"topics":["passport","express","authentication","magiclink"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Passwordless authentication with magic links for Passport.js 🔑 - User signup and login without passwords - Supports magic links sent via email, SMS or any other method you prefer - User interface agnostic: all you need is an input and a confirmation screen - Handles secure token generation, expiration and confirmation Originally implemented by Tobias Lins for Splitbee and eventually extracted for Feedback Fish: Usage To use magic link authentication, you have to: 1. Setup the Passport strategy and Express routes on your server 2. POST a request with the users email or phone number from the client once they have entered it into the login input Installation Frontend usage This is what the usage from the frontend looks like once you've set it all up. It only requires a single request: Backend setup To make this work so easily, you first need to setup passport-magic-login: Once you've got that, you'll then need to add a couple of routes to your Express server: That's it, you're ready to authenticate! 🎉 License Licensed under the MIT license. See LICENSE for more information!","default_branch":null,"files":null,"tree":[],"storefront":"/r/mxstbr","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mxstbr/passport-magic-login/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}