© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
C
C#
•
3y ago
•
41 replies
Scott hrot
✅ jwt authentication always returns 401
I
'm trying to build a backend with
.net
& firebase
, but I can not get over one specific problem
. When I try to implement jwt
, calling any endpoint just throws 401 error code
(after logging in in swagger ofc
)
. What am I doing wrong
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
[Authorize] Always Returns 401 Even With Valid-Looking JWT Token
C
C# / help
3mo ago
Problem with JWT, always returns Unauthorized
C
C# / help
2y ago
Authorised endpoint returns 401
C
C# / help
3y ago
Jwt authorization returning 401 every time
C
C# / help
14mo ago