How to add Two-Factor Authentication to Laravel Fortify SPA - Laravel 2FA @ProgramWithGio
How to add Two-Factor Authentication to Laravel Fortify SPA - Laravel 2FA  @ProgramWithGio
Uploaded October 2020 | Updated November 2026, 3 hours ago
In this video, we add a two-factor authentication feature to the SPA. Adding two-factor authentication can be a little tricky to the SPA because we are not rendering any views from Laravel, instead, the rendering & routing is done on the SPA. Luckily Laravel Fortify is flexible enough to be able to add this feature to the SPA.

🤝 You can support me by giving my videos a 👍 & by subscribing to the channel ✔️

---- Source Code ----
Back-End (Laravel): github.com/ggelashvili/laravel-fortify-spa-backend
Front-End (Next.JS): github.com/ggelashvili/laravel-fortify-spa-frontend

--- Laravel Fortify Without Jetstream Series ---
Laravel Fortify Without Jetstream Feature - youtu.be/QYJKp1e71xs
Add Two-Factor Authentication Feature - youtu.be/EVWmma7nXak
Add User Registration Feature - youtu.be/Gt_6XFCLD5Y
Add Account Profile & Password Updates Feature - youtu.be/ELLDzzhIefA
Add Password Reset Feature - youtu.be/hbP-oodgixA
Authenticate Mobile App With Fortify & Sanctum - youtu.be/ymLpLWklzxQ
Updates to Laravel Fortify - youtu.be/2a2FFg40zFI
How to add Two-Factor Authentication to Laravel Fortify SPA - Laravel 2FAPHPUnit Tutorial Part 2 - Mocking - Full PHP 8 TutorialSay Hello to Vite: A Faster Way to Handle Assets | Learn Laravel The Right WayRequest Validation - Factory Design Pattern - Build Expense Tracker App With PHP 8How to add User Registration feature to Laravel Fortify SPALaravel Jetstream vs UI & Laravel Jetstream vs Fortify - Which Authentication Scaffolding To Pick?Basic PHP Syntax - PHP 8 TutorialDecorating Entity Manager to Avoid Inheritance - Build Expense Tracker App With PHP 8PHP Attributes - Simple Router With Attributes - Full PHP 8 TutorialPHP Function Parameters - Named Arguments - Variadic Functions & Unpacking - Full PHP 8 TutorialPHP Docker Tutorial - Nginx - PHPFPM VS Apache - Full PHP 8 TutorialAvoid These 5 Common Mistakes As A PHP Developer
Program With Gio |

How to add Two-Factor Authentication to Laravel Fortify SPA - Laravel 2FA

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER