Playing
01. Introduction and demo

Transcript

00:00
So in this course, we're going to be covering passwordless authentication with Laravel. Now, we're going to do this completely from scratch within a fresh Laravel project without any starter kit. And the benefit of this is that as you follow along,
00:12
if you want to go ahead and implement this into a starter kit that you're already using or your own project structure, then you can do that. So we're going to take a look at how this works. I've got two screens up here. The first one is, of course, the login screen. And the second one here is just an empty page at the moment.
00:28
But once we are authenticated, we will see our username in here. Now, I've already created out a user in the database here. We will be covering registration in the course as well. But I'm going to go ahead and just enter the email address of my account.
00:42
And I'm going to hit get magic link. What that's going to do is go ahead and email me over a magic link. So if we head over to our email client, I'm just using a local mail client here. You can see, sure enough, we've got an email here with your magic login link with a button.
00:56
And of course, you can customize this email with a bit more text. When we go ahead and hit login, that's going to go ahead and forward us over to the app. And very instantly, we are now signed in. And we're now forwarded over to this page here, which we saw before.
01:10
And of course, now we're signed in. So we're going to be covering how to do this securely, which is, of course, really, really important. And like I mentioned, we're also going to allow the user to register as well.
01:21
So let's go ahead and register with a new email address here and a new name and hit sign up. What that's going to do is register the user. And then it's going to send them across a login link here. You can customize the flow of this.
01:34
We're going to be discussing that through the course. But as you can see here, I can now go ahead and sign in as the user I've just registered as. So let's get started in the next episode, where we're going to be building out this login page just here.
10 episodes 58 mins

Overview

Say goodbye to the traditional email/password flow and implement passwordless authentication with Laravel! In this course, we'll cover sending a secure link via email to allow users to sign in seamlessly. Oh, and we'll cover the entire registration process too.

Use it on its own, or combine it with the standard email/password flow to give your users even more flexibility.

Alex Garrett-Smith
Alex Garrett-Smith
Hey, I'm the founder of Codecourse!

Comments

No comments, yet. Be the first to leave a comment.