-
Notifications
You must be signed in to change notification settings - Fork 172
Adding Two Factor Auth Feature #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
||
/* Allows us to transition an element from a certain length to its intrinsic size */ | ||
/* Learn more here: https://css-tricks.com/almanac/properties/i/interpolate-size/ */ | ||
interpolate-size: allow-keywords; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You forgot to uninstall the radix-ui/react-tabs
package
public string $companyName; | ||
|
||
/** | ||
* Generate new recovery codes for the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* Generate new recovery codes for the user. | |
* Generate a QR code image and secret key for the user. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delete?
This PR adds Two Factor Authentication to the React Starter Kit. This functions the same as the Livewire Starter Kit 2FA functionality, and all the
App\Actions\TwoFactor
are similar.The user can now click on the Two Factor Auth tab on the left in the settings page.
They can then click Enable
This will open the QR code modal. The user can scan the QR code/security code and click continue where will have to verify the code.
Next, they will have to verify the code from their Authenticator App
After entering the correct code the user will see that 2FA has been enabled as well as a list of all their recovery codes.
Next time the user tries to login to the application they will have to verify their 2FA code before they are authenticated.
Other Starter Kit 2FA Feature PR's
Vue: github.com./laravel/vue-starter-kit/pull/120
Livewire: github.com./laravel/livewire-starter-kit/pull/84