Top "Asp.net-identity-2" questions

The second release of the ASP.

Asp.Net Identity save user without email

I want to save user without email, like this: var user = new ApplicationUser { UserName = model.Name }; var result = await UserManager.…

c# asp.net-identity-2
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
How do you generate a Bearer token to call a remote Web API

I have two sites, a site that users login to and manage their account and site that has no UI …

owin asp.net-web-api2 asp.net-identity-2 bearer-token
Usage of User.IsInRole() in a View

In my mvc5 project to disable an action link for unauthorized users i did like this @if (User.IsInRole("Admin") | …

asp.net-mvc-5 asp.net-identity-2 isinrole
how can I get Identity UserID in the controller right after a successful login result?

I am using Identity v2 and MVC 5 for external login. In my external login callback function, I log the user …

asp.net-mvc-5 claims-based-identity asp.net-identity-2
How can I get a users role inside a WebAPI method without a lookup to the AspNetUserRoles table?

I have a stored procedure that updates status. Depending on the role of the user the stored procedure has code …

asp.net asp.net-mvc asp.net-web-api asp.net-identity asp.net-identity-2
Trying to change table names in ASP.NET Identity 2.0

I want to change the names of the tables used by ASP.NET Identity 2.0. I've seen various similar questions but …

c# entity-framework asp.net-identity-2
Why new fb api 2.4 returns null email on MVC 5 with Identity and oauth 2?

Everything used to work perfect until fb upgraded it's api to 2.4 (I had 2.3 in my previous project). Today when I …

c# facebook facebook-graph-api asp.net-mvc-5 asp.net-identity-2
'Microsoft.Owin.IOwinContext' does not contain a definition for 'GetUserManager' and no extension method?

The following code is copied from the Asp.Net Identity 2.0 sample. private ApplicationUserManager _userManager; public ApplicationUserManager UserManager { get { return // Error _…

asp.net asp.net-mvc-5 asp.net-identity asp.net-identity-2