© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
₾უკა

Identity problem

I have scaffolded Identity pages for user authorization and authentication and i have a problem.
the Manage/Index.cshtml doesn't display the correct page, usually it shows the change password,change email etc. pages but it only shows the phone number input.
This happens when I add IdentityRole to services for example like this :
builder.Services.AddIdentity<User,IdentityRole>()
.AddEntityFrameworkStores<ApplicationDbContext>()
.AddDefaultTokenProviders();
but if I remove the IdentityRole from the services it works just fine.. i'm pretty new to .NET and i have no idea why this happens, any help is appreciated
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

Similar Threads

❔ Identity server using problems.
C#CC# / help
3y ago
✅ Identity Help
C#CC# / help
13mo ago
identity blazor
C#CC# / help
2y ago
Identity struggle
C#CC# / help
2y ago