© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
4 replies
The Fog from Human Resources

✅ Bypass ASP.NET Required authenticator

Im trying to return Forbid (403) to the user if a resource already exists
it all works fine but the issue is that i get thrown errors about not implementing an authenticator middleware for it
i already removed the lines that add the authenticator and authorization stuff and marked my function as AllowAnonymous but it doesnt seem to have much effect on it
I would use an authenticator middleware if it was worth it but it really isnt for this project

TLDR;

How to return Forbid and similar without Authenticator middleware
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

✅ Recursive Data Model Required Error in ASP.NET
C#CC# / help
3y ago
❔ Converting ASP.NET 6 to ASP.NET 5
C#CC# / help
4y ago
Smarter ASP.NET
C#CC# / help
6mo ago
✅ ASP.NET razor
C#CC# / help
17mo ago