joscha / play-authenticate

An authentication plugin for Play Framework 2.x (Java)
http://joscha.github.com/play-authenticate/
Other
807 stars 369 forks source link

TOTP using Google Authenticator? #361

Open bravegag opened 5 years ago

bravegag commented 5 years ago

I'd like to propose a new feature to introduce a 2 factor authentication using the cool Google Authenticator App which I use all the time in my iPhone. We are lucky because there is what seems a clean Java-based server side library to add this feature to PA: https://github.com/wstrange/GoogleAuth

Is there anyone interested to help with this and create a new PR? I am currently looking into the "Remember Me" bit first, then later will work on the 2 Factor Authentication.

bravegag commented 5 years ago

This has been implemented in https://github.com/bravegag/play-authenticate-usage-scala. I'm currently migrating the PA fork to 0.9.0 and will later upgrade the Scala usage sample as well.

joscha commented 5 years ago

Sounds good, would definitely be a good feature.