C#C
C#3y ago
怠惰

❔ Identity server using problems.

Hi all, before I start, I wanna sorry for my bad English, cuz its not my native language. So, i make a project on Asp.net web api (https://github.com/NeTBoyBot/SolarLabProject)
And want to change my standart Identity to Identity Server, i created an Identity User and other stuff what i need(how i know), and start test functionality.
Register or Login works good, i think, at least my Login give's me a JWT Tocken. But, when i try to get my claims from HttpContextAccesor, it returns me a null claims. In my standart version of Identity i dont have that problem, and i dont know what im missing.
image.png
image.png
image.png
GitHub
Contribute to NeTBoyBot/SolarLabProject development by creating an account on GitHub.
Was this page helpful?