Skip to content
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

Add optional support for 2FA #10

Open
ldilley opened this issue Aug 29, 2018 · 1 comment
Open

Add optional support for 2FA #10

ldilley opened this issue Aug 29, 2018 · 1 comment
Labels

Comments

@ldilley
Copy link

ldilley commented Aug 29, 2018

@mobbyg mentioned adding support for 2FA in Discord recently. We should allow the optional use of 2FA for increased security. We can leverage the well-known Google or Microsoft authentication apps for this purpose. There are several decent Google Auth libraries implemented in PHP that take care of the heavy lifting already:

https://github.com/PHPGangsta/GoogleAuthenticator (somewhat dated)
https://github.com/Dolondro/google-authenticator (somewhat active)
https://github.com/chregu/GoogleAuthenticator.php (dated)
https://github.com/sonata-project/GoogleAuthenticator (actively maintained)

The web forms will require updating to enable users to enroll/associate and detach an authenticator with/from their account along with challenging them for a one-time PIN after username and password authentication.

@ldilley
Copy link
Author

ldilley commented Aug 29, 2018

https://github.com/multiOTP/multiotp, which supports SMS, may also be an option. This project is bulkier than the aforementioned libs that only focus on Google's [H|T]OTP implementation however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant