© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
11 replies
ToeKnee

Authorization doesn't work as it should ASP.NET C#

I'm currently doing an api for cloth shopping assignment and my problem is that any user can create an order when they are not authorized. But to be authorized you need to send a token.
Maybe it's easier to send the github link: https://github.com/Ynot-TT/TopApi.git
GitHub
GitHub - Ynot-TT/TopApi
Contribute to Ynot-TT/TopApi development by creating an account on GitHub.
GitHub - Ynot-TT/TopApi
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

❔ Form in ASP.NET.MVC doesn't work
C#CC# / help
3y ago
❔ ASP.NET, MongoDB, C#
C#CC# / help
3y ago
✅ Onion Architecture Authorization doesn't work
C#CC# / help
12mo ago
✅ Authorization in ASP.NET Web Api
C#CC# / help
2y ago