Category "asp.net-identity"

How to add auto-increment column in aspnetuser table while implementing asp.net identity?

How to add auto-increment column in AspNetUsers table while implementing asp.net identity? I do not prefer to change much the existing code and any simple worka

AddIdentity() fails "InvalidOperationException: Scheme already exists: Identity.Application"

I'm trying to add facebook login to my .NET Core 2.1 site I'm following this , guide and more specific, this (for facebook login) After have adding the lines be

ASP.NET model that requires a reference to a IdentityUser?

I have a model Blueprint that requires a reference to an IdentityUser. When I run Add-Migration CreateBlueprintSchema the following error is thrown: No suitabl

Click on ASP .Net Core Identity Log In button leads to 400 error

I'm writing simple asp .net core 2.2 MVC app with individual authorization (ASP Identity) hosted on IIS 10. If user navigates to Login page, stays idle for 20+

Blazor server app still authorized even after altering cookies

I have tested a sample Blazor server application that uses standard ASP.NET Core Identity and I logged in successfully. But even after I tried to alter the cook

Get current user id in ASP.NET Identity 2.0

I just switched over to using the new 2.0 version of the Identity Framework. In 1.0 I could get a user object by using manager.FindByIdAsync(User.Identity.GetU

How to change error message in ASP.NET Identity

I'm trying to change the error message in Identity ASP .NET and I don't know how to do it. I want to change the error message to this: "Login is already taken".

The type ApplicationUser cannot be used as type parameter 'TUser' in the generic type or method 'IdentityDbContext<TUser>'

Trying to implement Identity in ASP.NET Core 2.0. Having many problems getting my head around this. Startup.cs public class Startup { public Startup(ICon

Identity UserManager CreateAsync does not write to database

It doesn't give any errors or warnings but it doesn't insert in the database. Seems like it's only in memory. Also UserManager's FindByNameAsync can't check use

How can I use ActiveDirectoryMembershipProvider with ASP.NET Identity?

I'm learning to use .NET Identity. I have to authenticate to Active Directory. For that purpose I am trying to use ActiveDirecotoryMembershipProvider. I have to