Back Button Frameworks
Laravel Authentication (Breeze, Jetstream, and Fortify)

Laravel Authentication (Breeze, Jetstream, and Fortify)

Laravel offers several options for Authentication in your applications. If you'd prefer a head start, you might reach for one of the available first-party packages that provide robust, modern scaffolding for your authentication layer. For example, Laravel Breeze is an excellent choice to get up and running quickly. If you require additional features, Laravel Jetstream offers two-factor auth, API tokens and team management. If you'd instead prefer to use your own front-end stack, you might consider Laravel Fortify as the backend implementation.

In this series, we'll review how to use and customize these packages in order to fit the authentication needs of your application.

Intermediate
17 episodes
2h 50m
17
Latest Episode in This Series

Added 1 week ago

Mobile App Authentication With Sanctum

Let's now use Sanctum to authenticate non-browser-based mobile or desktop applications.

Watch
Laravel Authentication (Breeze, Jetstream, and Fortify)

Laravel Authentication (Breeze, Jetstream, and Fortify)

Laravel offers several options for Authentication in your applications. If you'd prefer a head start, you might reach for one of the available first-party packages that provide robust, modern scaffolding for your authentication layer. For example, Laravel Breeze is an excellent choice to get up and running quickly. If you require additional features, Laravel Jetstream offers two-factor auth, API tokens and team management. If you'd instead prefer to use your own front-end stack, you might consider Laravel Fortify as the backend implementation.

In this series, we'll review how to use and customize these packages in order to fit the authentication needs of your application.

Begin
17
Latest Episode in This Series

Added 1 week ago

Mobile App Authentication With Sanctum

Let's now use Sanctum to authenticate non-browser-based mobile or desktop applications.
Watch

Your Teacher | Andre Madarang

https://laracasts.s3.amazonaws.com/avatars/andre-madarang.jpg's avatar
Greetings! I'm Andre, a full-stack web developer and Laracasts instructor. My other hobbies include playing guitar, videography and gaming.
  1. Section 1 Laravel Breeze

    1. Laravel Breeze is a minimal and simple starting point for your authentication scaffolding in Laravel. It’s the successor to the laravel/ui package and is built using Tailwind CSS, AlpineJS and Blade Components. It publishes everything needed for auth into your project folder, which means it’s easily customizable - and even includes tests.

  2. Section 2 Laravel Jetstream

    1. Laravel Jetstream is a beautifully designed application scaffolding tool that provides a great starting point for your new applications. It’s built with Tailwind CSS, AlpineJS and Blade Components and includes features like login, registration, profile management, two-factor auth, session management, API tokens, and teams.

      In this episode, we take a look at all of these features from a user’s point of view.

    2. Free Episode Run Time 11:46 View Source

      Jetstream allows you to publish all views and Blade components to your project folder, making it easy to customize the look and feel of your application. Let's review how.

    3. Free Episode Run Time 7:40 View Source

      Next, we'll have a look at how to publish and customize routes for both Jetstream and Fortify.

    4. Free Episode Run Time 15:28 View Source

      Most of the functionality of Jetstream (and Fortify) can be customized by modifying corresponding Actions. These classes are all available in your project folder. Let's take a look at a few examples in this video.

    5. Let's now review Jetstream’s API tokens feature. This is technically a feature of Laravel Sanctum, but Jetstream includes all the necessary frontend views and scaffolding to accomplish this. API Tokens allow you to issue API tokens / personal access tokens that may be used to authenticate API requests to your application.

    6. Jetstream has built-in support for teams and team management. Let's have a look at making use of these features to extend a typical blog application to support teams.

    7. Jetstream provides the option to choose Inertia as your Laravel Stack. Inertia replaces your Blade views and components with Vue components, if you prefer to work with JavaScript. Let's review a handful of examples where we modify pages and components with Vue.

  3. Section 3 Laravel Fortify

    1. Let's install Fortify into a fresh Laravel application and take a look at creating the necessary front-end Blade views for logging in and registering.

    2. Let's take a look at verifying a user’s email address after the registration process. We'll also briefly review how to customize the email template.

    3. Episode Available In: 2 days

      In this lesson, we'll learn how to allow users to enter their email for a forgotten password, receive an email, and then choose a new password with the reset password form.

    4. Episode Available In: 3 days

      In this episode, we leverage Fortify to allow users to update their profile details and password.

    5. Episode Available In: 4 days

      Sometimes you want to confirm a user’s password before performing a particular task. Fortify allows us to do this easily by creating a simple form along with the password.confirm middleware.

    6. Episode Available In: 5 days

      Let's take a look at turning on two-factor authentication from within the user’s dashboard. This involves rendering a QR code and generating recovery codes. We also take a look at building the two-factor challenge that requires the user to enter these codes to complete the authentication process.

    7. Episode Available In: 6 days

      Let's review how to leverage Fortify as an API to power third-party tools, like single-page or mobile apps. Fortify provides support for this and can simplify the entire process.

    8. Episode Available In: 1 week

      Let's have a look at using Sanctum in combination with Fortify to authenticate our single-page apps.

    9. Episode Available In: 1 week

      Let's now use Sanctum to authenticate non-browser-based mobile or desktop applications.

Series still in development robot

*Series still in development. Check back often for updates.