Creating a password-less email-only auth system in Laravel
Published on by Eric L. Barnes
Matt Stauffer writing for the Tighten blog has a new tutorial covering how to create a password-less login with Laravel.
Recently I was working on a project where one of our major pain points was users’ passwords. Users were added to the application by administrators, so they didn’t have passwords when they were first added, and forcing them to set and remember passwords was a big hitch on the project’s usability.
So, we decided to try out a Medium/Slack-inspired password-less login. If you’ve never had the chance to work with this, the login system works like this: enter your email address on the login page, get emailed a login link, click the link, and now you’re logged in. Access to your email address proves your identity without the need for a password.
Eric is the creator of Laravel News and has been covering Laravel since 2012.