Тёмный

2FA two-factor authentication - Create your own Laravel 8 login system using Laravel Fortify - EP7 

Penguin Digital
Подписаться 10 тыс.
Просмотров 19 тыс.
50% 1

If this video has helped you why not buy me a coffee to say thank you? / p_digital
...
Follow me on twitter: / pdigitaluk
Try out DigitalOcean for free with this link: m.do.co/c/3ba5f136c3ed
...
In this video we look at how we can implement 2FA, two-factor authentication using Fortify to power the backend.

Наука

Опубликовано:

 

15 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@fmk6105
@fmk6105 3 года назад
I just watched your all Fortify series. I can say that it is the best Fortify tutorial so far. But I think 2 episodes are missing.: 1) Password Confirmation (confirmPasswordView) 2) Multi-auth If you can add this 2 episodes, this series will be perfect :)
@winmodif
@winmodif 3 года назад
Thanks a lot, as Tanzim said you're the first to have a tutorial on this. 👍
@PenguinDigital
@PenguinDigital 3 года назад
No problem roeland glad you liked it
@mixalismas4
@mixalismas4 3 года назад
Once again, you are the best! I think a role based authentication system (e.g. with admin and users) is required. Great job!
@ShabeebRizvi
@ShabeebRizvi 3 года назад
Thanks Mate! Have been waiting for this! 😊🙏👍
@PenguinDigital
@PenguinDigital 3 года назад
No problem glad you liked it shabeeb
@alejandrogandara33
@alejandrogandara33 3 года назад
Great!!! Thank you a lot for your time!!!!
@pablomiranda603
@pablomiranda603 2 года назад
Duuuude Awesome video, THANK YOU
@johnkamau3442
@johnkamau3442 2 года назад
Excellent job
@BinayaKarkiOfficial
@BinayaKarkiOfficial 3 года назад
Thanks bro. You gain a subscriber. It will be great if you made tutorial on how to implement to show logged in browser devices and make logging out of all logged devices without Jetstream. Thanks again bro.
@shavindusenadheera4353
@shavindusenadheera4353 2 года назад
Great!
@ckgringoblogger9170
@ckgringoblogger9170 Год назад
I agree, best tuto about Laravel, ever, I have a question, I'm using L9, and my 2FA Google Authenticator page not showing after I logout and login again it's going straight to home with the button to disable 2FA, I was told I need to fill out the table field with two_factor_confirmed_at, only if I change the fortify confirm to false, can you help me, please? I appreciate.
@annaferlich5831
@annaferlich5831 3 года назад
I did everything but after logging in, it does not ask for the code .. maybe because my route after logging in is /admin/dashboard and not /home
@JamesAutoDude
@JamesAutoDude Год назад
Did you figure it out? this is happening to me too
@chrisdedavid1860
@chrisdedavid1860 Год назад
Me too 😞
@asutoshroy9665
@asutoshroy9665 2 года назад
Outstanding series on fortify , I have applied all your concepts in one of my my live project and it working fine , clean and clear concepts , Thanks a lot . If possible please help on how to logout other broswer session for laravel8 multi-auth system.
@janettaylor260
@janettaylor260 3 года назад
Hi Penguin Digital, I've followed this great series and implemented everything with no problem so far. I've now got to the 2fa and everything is working. However, once a user has set up the 2fa and got their codes, they log in, put in their code but it takes them to the home page where the enable disable button is. How do I get them to another page. I'm obviously missing something on the routing. Your advice would be appreciated. Thanks Jan
@janettaylor260
@janettaylor260 3 года назад
Hi Penguin Digital,= I've finally got this working by following another tutorial on Laracasts so that my route is directed to the correct place. Thanks for the great videos.
@PenguinDigital
@PenguinDigital 3 года назад
Glad you sorted it Janet
@leforce8249
@leforce8249 3 года назад
This works well, but in my case, the 2FA isn't immediately activated after the password confirmation. I have to click the button a second time. The same goes for disabling it. Is there a way to fix this behavior? It´s not really user-friendly. And I would love if you could show how to make a password-confirm modal instead of a view (like Jetstream does) Thank you.
@tanzimibthesam5861
@tanzimibthesam5861 3 года назад
That's the first 2 factor authentication tutorial without Jetstream. Btw can I implement these features with Vue n without Jetstream thanks.
@PenguinDigital
@PenguinDigital 3 года назад
Yeah you can use Vue if you want, fortify works with any frontend you want, I'm using bootstrap on this series as it's what I'm most comfortable with but you can use any front end framework that you want.
@stojankukrika7242
@stojankukrika7242 3 года назад
Will you share your code for this video?
@omar.amrouss
@omar.amrouss Год назад
i sir can you put the link of the complet code??
@joebelal4968
@joebelal4968 3 года назад
thanks for the great video , is there is gona be a multi auth one ?
@PenguinDigital
@PenguinDigital 3 года назад
It depends what do you mean when you say multiauth? The word multiauth is a bit of a buzzword that means different things to different people
@joebelal4968
@joebelal4968 3 года назад
@@PenguinDigital what i mean is authentication for different models with different tables and guards using fortify
@PenguinDigital
@PenguinDigital 3 года назад
I'm currently in discussion with some of my patrons about where to go next and one of the discussions is about creating a roles based system (like my previous 7 series) using fortify. There are no plans to authenticate against multiple models at this time unless one of them request it. Even then I'm not a fan of the pattern which mostly duplicates database tables and doesn't gain you anything in return.
@joebelal4968
@joebelal4968 3 года назад
@@PenguinDigital thanks for the respond and keep up the great content ♡
@PenguinDigital
@PenguinDigital 3 года назад
Thanks for the feedback Joe
@umairsaeed5925
@umairsaeed5925 Год назад
fortify not triggering 2FA challenge
@nipunanilusha6921
@nipunanilusha6921 3 года назад
i have error with fortify 2FA, when i try auth code receiving error "The provided two factor authentication code was invalid" but its recovery codes are working.
@baukeplugge1980
@baukeplugge1980 3 года назад
I have got the same here. Did you managed to get it solved ?
@rxxt-sh1vj
@rxxt-sh1vj 3 года назад
How to logout the user using fortify ?? can you explain. I dont want to use Auth::logout() to destroy the session..
@PenguinDigital
@PenguinDigital 3 года назад
Sure, just send a POST request to /logout/ You can run php artisan route:list to see all the endpoints Fortify makes available to you.
@rxxt-sh1vj
@rxxt-sh1vj 3 года назад
@@PenguinDigital Thanks a lot
@Diogoferreira7
@Diogoferreira7 3 года назад
Good night, mine works perfectly, but it is not asking for password confirmation.
@chrisdedavid1860
@chrisdedavid1860 Год назад
You'll need to edit app/config/fortify Under Features twoFactorAuthentication ... set 'confirmPassword' to true
@leonardobarros1833
@leonardobarros1833 Год назад
It's not working for me, the password confirmation page doesn't show up and neither does the challenge page, I don't know what's going on😟
@chrisdedavid1860
@chrisdedavid1860 Год назад
For the password confirmation you'll need to edit app/config/fortify Under Features ... twoFactorAuthentication ... set 'confirmPassword' to true
@leonardobarros1833
@leonardobarros1833 Год назад
@@chrisdedavid1860 But my config is edited... and it doesn't work the same way
@lighttheoryllc4337
@lighttheoryllc4337 3 года назад
Please add your Business Email Address in your RU-vid About Us section of your Channel for Business Inquiries
Далее
13.4 - Laravel Fortify: Two Factor Authentication (2FA)
32:06
Laravel 8 REST API With Sanctum Authentication
54:13
Просмотров 543 тыс.
Laravel: Change Two Symbols to Boost Eloquent Speed
6:34
An Illustrated Guide to OAuth and OpenID Connect
16:36
Просмотров 565 тыс.
What is an API Gateway?
15:02
Просмотров 52 тыс.
Colorful Vulcan w rtx 4070ti Super
13:30
Просмотров 52 тыс.