MFA with Fortify and vormkracht10 2fa
I want to add MFA to my Filament app and I wanted to check my understanding was correct about how to proceed and that the packages I'm suggesting work together.
We want App and Email codes. A future possibility of SMS would be nice.
I have the standard out-the-box Filament login at the moment.
My thought is to setup Laravel Fortify and then use this plugin:
https://filamentphp.com/plugins/vormkracht10-2fa
My main concern is about setting up Fortify and duplicating/confusing things because Filament already provides all that functionality.
Any tips/advice are most welcome π
Filament
2FA by Vormkracht10 - Filament
Integrate Laravel Fortify in minutes in your Filament apps. The package offers two factor authentication with authenicator apps, email and SMS.
13 Replies
How soon do you need it? It comes with v4 natively. I am fairly sure the plugin does a good job out of the box too.
ooh I need to implement it in the next few weeks. Do you know when v4 is coming?
(and will it support App, Email and SMS - or just some of them?)
June, I think. No idea, on the other points. I'm using Filament with stancl/tenancy and the "standard" auth stack. You can use filament without their in-built auth/tenancy
Filament v4 will drop in the Summer
Not sure when, but its a ballpark. My guess is in August, celebrating 2 years of v3 (but this is just a guess π
)
I wouldn't wait then if you need it soon.
Thanks all super handy info.
I'm not sure I will be able to wait, but perhaps I'll quote for it and then not push it - and maybe they'll take ages π€£
If anyone comes across this with experience of the combinations in my original post - please still chime in π
https://filamentphp.com/plugins/vormkracht10-2fa has support for that already by the looks of it.
Filament
2FA by Vormkracht10 - Filament
Integrate Laravel Fortify in minutes in your Filament apps. The package offers two factor authentication with authenicator apps, email and SMS.
@toeknee - that's the plan I'm here to sanity-check.
Adding Fortify and Vormkracht's plugin on top of the stock Filament login stuff - is that all a good plan
Itβs fine, Iβve used both.
Thank you @toeknee !
If you've got any questions regarding the package, I built most if it. So feel free to ask @Patabugen
But as many others already told, the 2FA functionality will be available in Filament by default in v4
Thank you @Baspa ! π
Do you know if the Filament one will support Email, App and SMS codes perchance?
To be honest I don't know what it will support but if they only support email and app, adding SMS code isn't too hard. In my package you can see how I added it using most of Fortify / Laravel own features