Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

java API for google Authenticator [closed]

I wanna add two factor authentication using Google Authenticator and was wondering if google provides with java api's. I tried searching for it but din't find any. Can anyone point me to the java api if there are any. If not how can i go about using Google Authenticator in my web based java application. I am using Spring framework for my existing application

like image 397
user2437940 Avatar asked May 12 '15 23:05

user2437940


2 Answers

In fact, Google Authenticator has nothing to do with Google services. What you need to look for is TOTP. Research again using TOTP and rfc6238 as keywords and you will find lots of resources.

like image 53
Emin Avatar answered Oct 07 '22 03:10

Emin


Java library for google authenticator was implemented and can be found here, https://github.com/wstrange/GoogleAuth

like image 34
Marufur Rahman Avatar answered Oct 07 '22 03:10

Marufur Rahman