Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Access User Identity claims in API

$
0
0

Hi,

I am unable to get user claims in my API. I have tried to inject IHttpContextAccessor but it is always null.

So, how can I access user claims from my api controller?

Regards


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>