Top "Asp.net-identity" questions

The ASP.

Get ExtraData from MVC5 framework OAuth/OWin identity provider with external auth provider

I'm trying to use the new MVC5 framework in VS 2013 preview. The membership authentication framework has been overhauled and replaced …

asp.net-mvc asp.net-mvc-5 owin visual-studio-2013 asp.net-identity
Mocking new Microsoft Entity Framework Identity UserManager and RoleManager

Has anyone come up with a successful mocking solution for UserManager and RoleManager? I have been beating my head against …

c# entity-framework unit-testing moq asp.net-identity
How to check if user already exists on client-side in ASP.NET MVC 5?

Using Visual Studio 2013.4 (Visual Studio 2013 Update 4) I have created a regular ASP.NET MVC 5 project with Individual User Accounts authentication …

c# asp.net asp.net-mvc asp.net-identity client-side-validation
How to create roles and add users to roles in ASP.NET MVC Web API

I have a .NET Web API project that users the individual accounts. I can register users fine using the standard …

asp.net-web-api roles asp.net-identity
ASP.NET Identity + Windows Authentication (Mix mode - Forms + Windows)

I have tried my best to search the web before asking this question. I've seen similar questions on stackoverflow, however, …

asp.net asp.net-mvc asp.net-identity windows-authentication
MVC5: UserManager.AddToRole(): "Error Adding User to Role: UserId not found"?

I have been experimenting with MVC5/EF6 and trying out the new Identity Authentication with Code-First Migrations. Everything in the …

c# asp.net-mvc-5 entity-framework-6 asp.net-identity entity-framework-migrations
Identity 3 SignInManager.PasswordSignInAsync() doesn't return any result

I am creating web application with Identity 3.0 and have problems with SignInManager PasswordSignInAsync() method. I'm using it just like in …

asp.net asp.net-mvc asp.net-identity asp.net-core asp.net-identity-3
How to configure ASP.NET Identity ApplicationUserManager with StructureMap

I am using asp.net identity in my project and using structuremap as DI framework. the problem is when i …

asp.net-mvc dependency-injection structuremap asp.net-identity asp.net-identity-2
Implementing UserManager to use a custom class and Stored Procedures

All of the authentication and authorization process of my app is done using stored procedures. I've written a class with …

.net asp.net-mvc asp.net-identity asp.net-identity-2
ASP.NET Core - Add role claim to User

I've an ASP.NET Core (based on .NET Framework) using Windows Authentication. Point is, I need to add a role …

c# asp.net-core asp.net-identity claims-based-identity