© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
102 replies
im_blind

Trouble implementing Identity

Hi so basically, I'm making a asp .net core web app and i want to use JWT and Identity (cause i heard google api for login, opts,.. are good)
Thing is, the Database has already been constructed before hand and used scaffold to generate them in my .net project
Therefore I already got a User entity. I watched some vids on yt guiding that I should extend the IdentityContext, IdentityUser, write stuff in program.cs files and how to use them in controllers.
But these 2: IdentityContext, IdentityUser i've only extended, that's it
One more problem is that, some recommended creating ApplicationUser? but I already have my User so is it needed?
I then made my own login controller, and ran on swagger. It returned this
{
Invalid column name 'NormalizedUserName'.
Invalid column name 'Id'.
Invalid column name 'AccessFailedCount'.
Invalid column name 'ConcurrencyStamp'.
Invalid column name 'EmailConfirmed'.
Invalid column name 'LockoutEnabled'.
Invalid column name 'LockoutEnd'.
Invalid column name 'NormalizedEmail'.
Invalid column name 'NormalizedUserName'.
Invalid column name 'PasswordHash'.
Invalid column name 'PhoneNumberConfirmed'.
Invalid column name 'SecurityStamp'.
Invalid column name 'TwoFactorEnabled'.
Invalid column name 'UserName'.
}
Now some told me that it's DB related and suggested I migrate add Identity and then update the Database
but then I got errors from the tables constructed before
Is Identity really needed for outside apis like google,....?
If yes, how should i fix this?
If no, what should I do instead?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements
Next page

Similar Threads

Implementing .net Auth/Identity
C#CC# / help
2y ago
✅ Identity Help
C#CC# / help
13mo ago
identity blazor
C#CC# / help
2y ago
Identity struggle
C#CC# / help
2y ago