Top "Asp.net-identity" questions

The ASP.

Can't get UserManager from OwinContext in apicontroller

I'm following a Microsoft sample to implement email validation with Identity 2.0.0 I'm stuck at this part public ApplicationUserManager UserManager { get { …

c# asp.net-web-api asp.net-identity owin
How to use JWT in MVC application for authentication and authorization?

I planned to use ASP.NET Identity 2.0 in an ASP.NET MVC application for authentication and authorization. Referring the below …

c# asp.net-mvc-4 authentication authorization asp.net-identity
What is ASP.NET Identity's IUserSecurityStampStore<TUser> interface?

Looking at ASP.NET Identity (new membership implementation in ASP.NET), I came across this interface when implementing my own …

asp.net asp.net-mvc asp.net-mvc-5 asp.net-identity
Add role in ASP.NET Identity

How can I add a Role in the new ASP.NET Identity system (1.0)? There is a UserStore class but no …

asp.net asp.net-identity
Where are the Login and Register pages in an AspNet Core scaffolded app?

In VS 2017, I created a new ASP.NET Core Web Application. On the second page of the wizard, I chose …

asp.net-core asp.net-identity razor-pages
ASP.NET Identity with EF Database First MVC5

Is it possible to use the new Asp.net Identity with Database First and EDMX? Or only with code first? …

asp.net asp.net-mvc asp.net-mvc-5 ef-database-first asp.net-identity
Value cannot be null. Parameter name: value, CreateIdentityAsync?

I created a ViewModel(UserModel) that implement IUser<int> (for customizing ASP.NET Identity 2.0) public class UserModel : IUser&…

c# asp.net-mvc customization asp.net-identity
Redirect to login when unauthorized in ASP.NET Core

In the previous ASP.NET MVC, there was an option to redirect to the login action, if the user was …

c# asp.net asp.net-core asp.net-identity asp.net-core-mvc
There is already an object named 'AspNetRoles' in the database

Some time ago, I created a ASP.NET MVC 5 website with the Identity 1.0 version, and i created the Identity tables …

asp.net-mvc entity-framework identity asp.net-identity
ASP.NET Core MVC: setting expiration of identity cookie

In my ASP.NET Core MVC app the lifetime of the authentication cookie is set to 'Session', so it lasts …

asp.net-mvc asp.net-identity asp.net-core asp.net-core-mvc