Questions tagged [google-authenticator]

Google Authenticator is an open-sourced application, created by Google and designed to support creation of one-time-passwords based on time (valid for a short period of time) or on number of intervals (invalidating after one use).

Google Authenticator is an open-sourced application, created by Google and designed to support creation of one-time-passwords based on time (valid for a short period of time) or on number of intervals (invalidating after one use).

244 questions
129
votes
3 answers

Google Authenticator implementation in Python

I am trying to use one-time passwords that can be generated using Google Authenticator application. What Google Authenticator does Basically, Google Authenticator implements two types of passwords: HOTP - HMAC-based One-Time Password, which means…
Tadeck
  • 132,510
  • 28
  • 152
  • 198
61
votes
6 answers

Is there a tutorial on how to implement Google Authenticator in .NET apps?

I'm looking for a tutorial on how to use Google Authenticator in .NET-apps. Does this exist, and if so, where can I find it? I understand that this can be used to add two-factor-authentication to your own apps.
Espo
  • 41,399
  • 21
  • 132
  • 159
52
votes
4 answers

How to generate a QR Code for Google Authenticator that correctly shows Issuer displayed above the OTP?

Warning: sharing your TOTP seed with third-parties breaks the very basic assumption of multi-factor authentication that the TOTP seed is secret. So, I'm aware of the documentation on this, found here: Google Authenticator Key URI Format When I…
Mark J. Bobak
  • 13,720
  • 6
  • 39
  • 67
25
votes
2 answers

Is there a Google authenticator API

I am trying to create a web app that is using a two-factor authenticator using the google authenticator, so my question is, is there an api for google authenticator?
Jama Mohamed
  • 3,057
  • 4
  • 29
  • 43
15
votes
0 answers

I lost my 2-factor auth app and I can't login into my heroku account

I had to factory reset my phone and I lost my two factor auth app (Google Authenticator) and now I can't login into my heroku account
15
votes
2 answers

Google Authenticator One-time Password Algorithm in C#

I would like to calculate the OTP password generated via Google Authenticator or similar app in C#. I have found some Javascript implementations and Python but not for…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
15
votes
2 answers

Is it possible to salt and or hash HOTP/TOTP secret on the server?

I am building a two-factor authentication system based on the TOTP/HOTP. In order to verify the otp both server and the otp device must know the shared secret. Since HOTP secret is quite similar to the user's password, I assumed that similar best…
Boycott Russia
  • 11,818
  • 5
  • 28
  • 29
13
votes
6 answers

Google oAuth 2.0 API Authentication Error: Error 400 - redirect_uri_mismatch (does not comply with policy) DJANGO APP

I am trying to get my google authentication working on a Django app that is requesting Gmail and Calendar data. I have set up the oAuth API in the Google developer console and linked it with my project, and I've triple-checked that my redirect URI…
13
votes
1 answer

Google Authenticator using PHP

I have used https://github.com/chregu/GoogleAuthenticator.php to built a 2 factor authentication for a web application i am working on. Everything works generating secret and even the code worked. Now i set up the same code in a different server and…
12
votes
2 answers

How to create google two factor authentication using php?

I want to use Google 2FA in my PHP project. The user needs to enter the 6 digit 2fa code while logging in. May you draw some tips on which direction to take?
Muralitharan
  • 367
  • 1
  • 2
  • 11
10
votes
3 answers

java API for google Authenticator

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…
user2437940
  • 111
  • 1
  • 1
  • 4
9
votes
2 answers

Two Factor Authentication using Google Authenticator in own asp.net project?

Hello I have created own asp.net project (Not MVC). Now I want to implement Two Factor Authentication using Google Authenticator. So when ever user get register user will get key or get QR image and setup with it's android phone. And for login they…
Pankaj Mishra
  • 20,197
  • 16
  • 66
  • 103
8
votes
2 answers

Android Google Auth Sign In handleSignInResult:false

I am developing the application where I am trying to login using Google. But getExtrasdata always returns null. Here is what I have from log: getSignInIntent = { act=com.google.android.gms.auth.GOOGLE_SIGN_IN…
8
votes
2 answers

Android : AccountPicker set Light Theme

Is it possible to set the theme of picker dialog ? import com.google.android.gms.common.AccountPicker; .... String[] accountTypes = new String[]{"com.google"}; Intent intent = AccountPicker.newChooseAccountIntent(null, null, …
7
votes
2 answers

Two-factor authentication with Google Authenticator - manually type key instead of scanning QR code

In Google Authenticator app you can either scan a QR code or manually type a key provided by the issuer. In the following screenshot you can see the setup of 2FA among Google Security settings, displaying how to get the TOTP by following the 2nd…
1
2 3
16 17