I've built an authenticated .net core (5.0) web application using Identity (2.2) and set up two factor authentication using a smartphone authenticator app. This is all working fine. I'm now trying to configure the application to enforce the two-factor authentication so that in order to reach any controller / action (apart from those needed for the authentication process), a user MUST be two-factor authenticated, by which I mean they must have enabled 2FA, set up the smartphone authenticator app and then gone through the two-factor authentication process. I'm sure there must be an easy way to do this, but I'm unable to find any posts anywhere on how to do it. Can anyone help? Thanks in advance.
Enforce two-factor authentication on all controllers / actions
138 Views Asked by IanP At
0
There are 0 best solutions below
Related Questions in IDENTITY
- LDAP Directory Synchronization Tools
- how google manage one account for multiple sites like Youtube, google drive, gmail
- Bulk User Creation in OwinContext (Performance)
- The page isn't redirecting properly when use Roles in Aothorizee
- Trying to rename several account types at once based on current displayName
- GetOwinContext through WCF throw nullreferenceException
- Checking objects for identity and Sonar issues
- MySql 5.5.40 stored procedure @@Identity
- Merge IdentityDbContext and DbContext ASP.NET MVC
- How to detect if the List contains itself in Java
- SQL : Accessing identity column value for current insertion
- How does the method Initialize(); work in the membership.cs class of asp.net?
- T-SQL Identity Seed Expression
- Syncope CSV connector not creating users
- Error When Converting Project from Code-first to Database-First
Related Questions in TWO-FACTOR-AUTHENTICATION
- How do I write tests for two-factor authentication?
- Grant Google Access to SMTP on cPanel/WHM Centos Server without advertising SMTP Auth?
- How to direct pf_auth.pf_authenticate request to on-premise Multi Factor Authentication Server
- DjangoCMS and two-factor-auth
- Change default ASP.NET Identity Two-factor remember Cookie Expire Time
- Two Factor Google Authentication not matching the codes on the server- ASP.Net MVC
- CentOS 7 SSH and 2FA (ESET Secure Authentication)
- Should 2FA secret codes be hashed for storage?
- Django CSRF vs 2FA
- Shiro, Multi Factor Authentication
- 2 person 2-factor authentication?
- How to verify website users using smartphone fingerprint authentication or face recognition?
- Python + Selenium - Microsoft 2FA
- How to use git after enabling 2FA without writing the token at each operation
- How to populate OTP from user's message box to application directly in iPhone?
Related Questions in ASP.NET-CORE-5.0
- Package Microsoft.EntityFrameworkCore.Sqlite 5.0.0-rc.1.20451.13 is not compatible with net50 (.NETFramework,Version=v5.0) / win7-x86
- .NET 5 not compiling to single file executables
- A successful sign in is not being maintained - Custom SignInManager - Libsodium - .NET 5
- Razor Page asp-page tag helper not directing to different folder correctly
- How to require authentication in ASP.NET Core 5 Blazor Server Mode with redirect to login
- IIS cannot open web.config - The requested page cannot be accessed because the related configuration data for the page is invalid
- How setup OpenId redirect uri in .NET Core 5 behind reverse proxy or loadbalance
- EF Core Db First: 'Value was either too large or too small for an Int16' Error
- In ASP.NET Core 5 MVC app, ControllerActionInvoker.InvokeActionAsync method seems to be called twice in the same thread simultaneously?
- .NET Core Consumer Kafka error deadlock SQL Server
- .NET Core/5 IConfiguration does not work on Ubuntu 20.10 x64 on Raspberry Pi 4 4GB
- How do I troubleshoot auto-refresh failing silently in ASP.NET Core 5?
- How do I control the page to which a user is directed after logging in using AAD B2C in Blazor?
- Which object HashSet is deserialised into in TypeScript?
- Azure DevOps Webhooks (Service Hooks) Missing Fields like Description or Repro Steps
Related Questions in ENFORCEMENT
- Concise way to enforce implementation of factory in Scala
- assert() vs enforce(): Which to choose?
- Entity Framework 4 - Designing DB To Enforce Multiplicity of 1 to 1
- Android APN Enforcement
- How to enforce parameters of anonymous blocks to be unused in Objective-C?
- How to enforce semicolons in JavaScript?
- Force to call parent::preExecute() in a symfony action
- Enforce two-factor authentication on all controllers / actions
- No enforcement for method signature
- How to enforce https connection for all sub locations? JAX-RS JBoss
- How can I enforce SQLite foreign keys in python using pysqlite2?
- How to force all derived classes to implement a virtual method?
- Prevent misuse of structures designed solely for transport
- Squid + squidGuard not enforcing safe search on duckduckgo.com
- Why doesn't VB.NET enforce handling exceptions?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?