Questions tagged [two-factor-authentication]
Is an approach to authentication which requires the presentation of two or more authentication factors.
491
questions
141
votes
10
answers
63k
views
Git authentication fails after enabling 2FA
I just enabled 2FA (I can't think of any other changes I made) and git asked for my username and password. I provided both, but they were "wrong". I tried many of the solutions here: Git push requires ...
125
votes
2
answers
82k
views
Sending email fails when two factor authentication is on for Gmail
I am using my Gmail account and smtp.gmail.com inside my web application to test and send email. when two factor authentication is ON for my Gmail account, it fails to send the email, however when I ...
61
votes
6
answers
69k
views
Is there a tutorial on how to implement Google Authenticator in .NET apps? [closed]
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 ...
55
votes
2
answers
2k
views
Create partial login cookie for External Authentication
Recently I've implemented 2FA for my WebAPI using IdentityServer3. Everything works as expected if the login is made locally (using the IUserService).
Now, I want to be able to do this login by ...
49
votes
1
answer
58k
views
How to add Google Authenticator to my website?
I have a web app that is Angular2 on the front-end and NodeJS on the back-end. I want to allow clients to use Google Authenticator to make their accounts more secure.
How can I implement/use Google ...
39
votes
6
answers
23k
views
How to add more devices to AWS root account MFA
I already have Google authenticator installed in my iPhone and I'm using it to signin to my AWS root account. I want to add the ability to login with MFA using my Android phone as well, using a ...
39
votes
1
answer
58k
views
How Do Hardware Token Devices work? [closed]
Recently, my bank sent me this tiny device that generates a unique code that must be used when performing online transactions, all the device does is generate this unique code when I press a ...
33
votes
2
answers
27k
views
Gitlab Account 2FA lost
I have lost my Phone and do not have the recovery code for my 2FA for GitLab.
So I am locked out of my account.
What are my options?
30
votes
5
answers
30k
views
2FA give problems when pushing to GitHub
I've clone a project on GitHub on my Raspberry Pi, create a new branch and push everything to the repository. For this I needed next commands:
git clone https://www.github.com/heinpauwelyn/my_repo
...
26
votes
3
answers
31k
views
Two-factor Authentication With fastlane
Im releasing my app to firebase distribution throw Fastlane while using CI machine.
Im facing an issue with the 2FA.
Im using Match to retrieve my certificates.
This is what I have under "Appfile&...
22
votes
2
answers
24k
views
Two factor authentication with spring security oauth2
I'm looking for ideas how to implement two factor authentication (2FA) with spring security OAuth2. The requirement is that the user needs two factor authentication only for specific applications with ...
18
votes
2
answers
13k
views
Configure Jenkins For Github CI w/ 2FA
My Github account has two factor authorization (2fa) enabled. I want to integrate Jenkins with a few of my private repositories, but I cannot authorize them because I have 2fa enabled. Note this is a ...
18
votes
3
answers
14k
views
Apple developer Enroll with Two-Factor Authentication
This week I tried to enroll to the Apple developer program.
Without that I can't publish an App to the store.
When entered in the Enroll program
https://developer.apple.com/programs/enroll
It ask me ...
17
votes
0
answers
7k
views
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
16
votes
1
answer
8k
views
What HTTP status to use in 2 factor authentication
My website workflow is that the user submits their username and password, then if 2 factor authentication is enabled, my website will request the user to enter 2 factor token via modal dialogue.
My ...
15
votes
4
answers
5k
views
using git send-mail with google 2-factor authentication
I'd like to use git send-mail to submit patches upstream, but my gmail account is using two factor authentication. Google provides app specific passwords for things like this, but my question is where ...
14
votes
3
answers
18k
views
How to use ansible with two factor authentication?
I have enabled two factor authentication for ssh using duosecurity (using this playbook https://github.com/CoffeeAndCode/ansible-duo ).
How can I use ansible to manage the server now. The SSH calls ...
13
votes
2
answers
7k
views
Should 2FA secret codes be hashed for storage?
I'm working on implementing 2FA with Google Authenticator on our website. If I understand correctly every user will have their own secret code, which I will need on login to verify the 6 digit code ...
13
votes
2
answers
11k
views
Need cookie to remember two-factor authentication success (not persistent login)
I've read a lot here and other places about using a cookie for a "remember me" option, but what I'm looking for is a way to design a cookie to record success of a two-factor authentication. This is ...
13
votes
2
answers
8k
views
Change default ASP.NET Identity Two-factor remember Cookie Expire Time
I have been using ASP.NET Identity 2.2.1. Following is the code in post method of VerifyCode action.
var result = await SignInManager.TwoFactorSignInAsync(model.Provider, model.Code, isPersistent: ...
12
votes
2
answers
33k
views
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?
12
votes
1
answer
7k
views
ASP.NET Identity Two Factor not working - Cookie Issue?
Background:
I have been using the Identity-Sample project provided by the Microsoft team here:
I have integrated the Identity-Sample project & prerelease nuget packages into an existing project, ...
12
votes
3
answers
16k
views
How to configure Bitbucket app password with SourceTree?
I enabled two-factor authentication in Bitbucket, then created an app password. Where should I configure this app password in SourceTree?
12
votes
2
answers
3k
views
Register with Phone number instead of email using mvc identity
I have a requirement in my web application, that I need to register a user with their phone number instead of email and password.
The system should take the input of the user's phone number and send ...
11
votes
5
answers
9k
views
Sourcetree add bitbucket with two factor auth
I've enabled two factor authentication for my bitbucket account.
Now Atlassian Sourcetree app on Osx doesn't works, it is unable to login on bitbucket.
How i can configure SourceTree to use bitbucket ...
10
votes
1
answer
3k
views
Asp.net Core 2.0 Identity.TwoFactorRememberMe expiry
I've been looking but I can't find a way of changing the expiry date for the Identity.TwoFactorRememberMe cookie that gets set when you call the signInManager.TwoFactorSignInAsync method and set the "...
10
votes
0
answers
864
views
JWT and two factor authentication in ASP.NET Core
Can we use JWT and do two factor authentication in ASP.NET Core? If yes, can someone point me in the right direction on how to do it?
9
votes
2
answers
11k
views
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 ...
9
votes
3
answers
21k
views
OTP code generation and validation with otp.net
I'm using the Otp.NET library to generate and validate an OTP. I want to use the TOTP algorithm. The generated OTP needs to be valid for 5 minutes. The library is recommending to use var totp = new ...
9
votes
2
answers
12k
views
How to send email using two factor authentication enabled office365 email account in asp.net C#?
I am trying to send email using office365 e-mail account that has enabled the two-factor authentication. It gives an authentication failed error. For email accounts that have not enabled the two-...
8
votes
2
answers
1k
views
Is there a free way to set up GitHub 2FA without a mobile device?
I currently don't have a working mobile device but need to switch to 2FA for GitHub.
The only way I currently know to do this is to purchase a Skype phone number and use it for SMS authentication. But ...
8
votes
1
answer
3k
views
Using sms otp with authentication (oidc) in IdentityServer4 and Dotnet Core Identity
I'm using Identity Server 4 and Dotnet Core Identity for authentication service. Authentication service has custom react spa.
I'm trying to get started a authenticate a user using their mobile number....
8
votes
1
answer
3k
views
django-otp implementation using custom Views
I have been trying to implement the django-otp with qrcode using custom Forms and Views. The problem is I am a little caught up on whether my implementation is correct or not. As the documentation ...
8
votes
0
answers
257
views
Yesod.Auth - how to require second-factor authentication?
I'm currently building a personal website in Yesod 1.4.5, and at the moment I'm implementing authentication. Authenticating with a username and password was easy enough - I used Yesod.Auth.HashDB - ...
7
votes
2
answers
9k
views
Google Account sign-in error (two-factor authentication) [closed]
I'm using Google two-factor authentication on a Galaxy 10.1 tab and receiving notification of a "Sign-in error" for my Google account.
gmail and other Google apps seemed to be working, but I went to ...
7
votes
2
answers
8k
views
How to make two factor authentication token expire after single use
I implemented two factor authentication but by following this tutorial
https://learn.microsoft.com/en-us/aspnet/identity/overview/features-api/two-factor-authentication-using-sms-and-email-with-...
7
votes
1
answer
7k
views
google authenticator with asp.net core
Are there any sample implementation for google authenticator as two factor authentication implementation in addition to sms and email?
Found one sample.
Sample Google Authenticator using asp.net
...
7
votes
2
answers
25k
views
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, ...
7
votes
1
answer
2k
views
Shiro, Multi Factor Authentication
Is there a way to implement multi factor authentication in Shiro? Can somebody give me a hint on how to implement this?
For more details:
The basic idea is, that a user needs to login just as usual, ...
7
votes
1
answer
3k
views
How to Implement Two Factor Authentication Via Email in ASP.Net Core 2?
I am using ASP.NET Core 2.2 for a web server, In each time a user login to the website, after entering a correct email & password, I need to send a message containing a 4-digits PIN Code to user ...
7
votes
2
answers
7k
views
Decoding Google 2 Factor Authentication QR Code Format
According to wiki, google 2 factor authentication secret key is supposed to be a 16 character base32 string. When I decode the QR Code that google sent me, I find that it complies with the Key format ...
6
votes
3
answers
15k
views
How to populate OTP from user's message box to application directly in iPhone? [duplicate]
I am working on an internet trading application with its mobile and iPhone applications available. With the recent market trend, we are working on including two-factor authentication. For that, we ...
6
votes
3
answers
8k
views
2FA with VS Code Remote-SSH?
I am using the Remote-SSH extension in Visual Studio Code to connect to a remote machine. This remote machine is protected by Duo's two-factor authentication. When I SSH in a terminal (outside of VS ...
6
votes
1
answer
5k
views
Google Authenticator code does not match server generated code
Background
I'm currently working on a two-factor authentication system where user are able to authenticate using their smartphone. Before the user can make use of their device they need to verify it ...
6
votes
2
answers
2k
views
Push remote commits to github with two-factor authentication enabled
Is there a way at this moment to push local commits to remote GitHub repository that has two-factor authentication enabled ?.
Without having to disable/enable 2-factor authentication each time we want ...
6
votes
1
answer
1k
views
How can I write an application which utilizes Intel IPT hardware?
What is involved in writing some kind of abstraction layer for Intel IPT hardware?
For those unfamiliar with Intel IPT, it is an embedded co-processor used to generate unique 6 character one-time ...
6
votes
1
answer
10k
views
Enable two-factor auth in Google Cloud Plaform
How can I enable Google Authenticator two-factor auth on my Google Cloud Platform account? I've looked up and down "IAM & Admin" in the web interface, but don't see a way to enable 2fa on an ...
6
votes
0
answers
258
views
Heroku: Two-Factor Authentication: Your identity couldn't be verified
Got stuck at - Heroku: Two-Factor Authentication: Your identity couldn't be verified. please let me know how can access my account or bypass the 2FA. I'm not logged in any other devices.
Thank you.
6
votes
0
answers
648
views
Securing API's with Multi Factor Authentication
I want to secure my API with Multi-factor-Authentication on top of Auth Token/JWT. I have been searching but couldn't find any package that can work with drf. I am thinking to write my own django app. ...
6
votes
0
answers
1k
views
Two factor authentication with sms and email in asp.net core 2.0
Asp.net core 2.0 includes two factor authentication only with an authenticator app. Is there a way we can re-introduce 2 factor authentication using sms and email too as available in previous versions....