© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
5 replies
Rodersnow

Authentication error responses

What's the best way for ASP.NET Core Web Api to send authentication error responses to a frontend, so it' clear for users but still secure?
Should I share more detail information to the frontend like: incorrect password, user already exist, etc.
or should I send more general error response like: Registration fail due to invalid input
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

Authentication: IdentityUser error
C#CC# / help
3y ago
✅ Blazor Serverside Google Authentication Error 400
C#CC# / help
3y ago
Slow HttpClient responses
C#CC# / help
2y ago
❔ multiple Async responses
C#CC# / help
3y ago