Questions tagged [two-factor-authentication]

Is an approach to authentication which requires the presentation of two or more authentication factors.

Two-factor authentication (TFA, T-FA or 2FA) is an approach to authentication which requires the presentation of two or more of the three authentication factors: a knowledge factor ("something the user knows"), a possession factor ("something the user has"), and an inherence factor ("something the user is").

See also and the Security.StackExchange multi-factor tag.

417 questions
6
votes
1 answer

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 "remember client" parameter to true. This method…
6
votes
0 answers

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.
Satyajit
  • 1,577
  • 3
  • 22
  • 43
6
votes
1 answer

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 But there are lots of changes while using it with…
6
votes
3 answers

How to move Google Authenticator to a hardware device?

I'm using two-factor authentication based on Google Authenticator and I need to connect the hardware tokens to this system. The problem is that I can’t use standard OTP tokens with the built in secret keys. The 2FA system generates the secret keys…
6
votes
1 answer

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 first. For this they need to scan a QR code I…
6
votes
3 answers

How to populate OTP from user's message box to application directly in iPhone?

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 will be sending a one-time password as a sms on…
Yasha
  • 163
  • 1
  • 4
  • 13
5
votes
0 answers

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?
5
votes
0 answers

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. I have a user data (email, password, phone…
5
votes
1 answer

Angular & Asp.Net Core - Enable 2 Factor Authentication

I have a single page application written in angular 7 which communicates with my ASP.Net Core 2.2 Web API server. On login, the user sends his credentials to my authorization server (connect/token) using "resource owner password credentials" grant.…
5
votes
0 answers

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-factor authentication works fine. How to resolve this…
Manusha
  • 180
  • 1
  • 3
  • 17
5
votes
1 answer

Apple ID two-factor authentication in VisualStudio

As of February 27, 2019, Apple forces developer accounts to use an extra security layer called Two-Factor Authentication. When I try to login to my Apple Developer account through Visual Studio 2019, it seems 2FA is not supported; Visual Studio…
5
votes
0 answers

ASP.NET Core MVC Two-factor Email confirmation without Identity

i'm using ASP.NET MVC Core and i'm not using ASP.NET Identity. Now i want to implement a email confirmation mechanism for the user's sign-in process. The problem is that all the examples that i could find in the internet are using the…
5
votes
2 answers

How to make two factor authentication token expire after single use

I implemented two factor authentication but by following this tutorial https://docs.microsoft.com/en-us/aspnet/identity/overview/features-api/two-factor-authentication-using-sms-and-email-with-aspnet-identity I want to make the code expire after…
Ege Bayrak
  • 889
  • 2
  • 17
  • 40
5
votes
1 answer

instagram api login with two-factor authentication

I'm using Instagram API for authentication in my app. the API works fine but when a user is using two-factor authentication the redirect_uri doesn't work and user redirected to the Instagram main page instead of the correct URL (my app login URL). I…
5
votes
0 answers

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. Any comments on what should be the architecture…
1 2
3
27 28