-
Hi , Now a days we see many application provide you 2FA, I would like to see this in nova. please correct me if there is a plugin for this already |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can use custom login pages (and backends) by configuring them in the Nova config. 'routes' => [
'login' => '/login',
'logout' => '/logout',
], It'll then use Jetstream's login pages and logic, where I have then activated 2FA, among others. |
Beta Was this translation helpful? Give feedback.
You can use custom login pages (and backends) by configuring them in the Nova config.
You have options for middlewares, and a guard, where you could use something like Fortify.
In my case, since I bootstrapped my app with Jetstream, I can directly use their pages by adding the following to my Nova config
It'll then use Jetstream's login pages and logic, where I have then activated 2FA, among others.
Laravel's first-party 2FA packages don't support SMS at this time AFAIK, though.
But maybe it could get you in the right direction.