.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
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.
JWT.IO
JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.
2 Replies