© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
3 replies
Dreams

.Net Identity JWT has weird claim

https://jwt.io/#debugger-io?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwOi8vc2NoZW1hcy5taWNyb3NvZnQuY29tL3dzLzIwMDgvMDYvaWRlbnRpdHkvY2xhaW1zL3JvbGUiOiJBZG1pbmlzdHJhdG9yIiwiZXhwIjoxNjcwMjkyNjUyLCJpc3MiOiJtbFNlcnZlciIsImF1ZCI6Im1sQWRtaW4ifQ.VqFQe4GowaTOVSbynHV-c1hmdzPrXdb_5QFKFWTV0sc

https://github.com/dzenis-zigo/Frizerski-Salon-ML/blob/main/SalonML/SalonML_API/Controllers/AccountController.cs - Line 122 is where I think the Administrator role is added
image.png
GitHub
Frizerski-Salon-ML/AccountController.cs at main · dzenis-zigo/Frize...
Contribute to dzenis-zigo/Frizerski-Salon-ML development by creating an account on GitHub.
Frizerski-Salon-ML/AccountController.cs at main · dzenis-zigo/Frize...
JWT.IO
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
JWT.IO
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

JWT, ClaimIdentity and ClaimPrincipal
C#CC# / help
16mo ago
❔ .net Identity 401 => Roles/Claims available
C#CC# / help
4y ago
✅ Refresh Token + JWT + Identity
C#CC# / help
2y ago
❔ JWT with Identity issue
C#CC# / help
4y ago