Search
Setup for Free
C
C#
•
13mo ago
TheUnquiet
Jwt authorization returning 401 every time
I
'm trying to add authentication
& authorization to my app using jwt tokens
, even after generating the token and logging in I still get a 401 Unauthorized error in swagger
, I have 0 clue what
's happening
.
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,134
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
✅ jwt authentication always returns 401
C
C# / help
3y ago
DotNet Core 8: JWT authorization problem
C
C# / help
2y ago
✅ JWT Authorization Issue with .NET Core Web API
C
C# / help
3y ago
[Authorize] Always Returns 401 Even With Valid-Looking JWT Token
C
C# / help
5w ago