<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006z0zNxCAIOkta Identity EngineAdministrationAnswered2021-05-27T16:58:03.000Z2021-05-24T12:25:19.000Z2021-05-27T16:58:03.000Z

shravank.18307 (Customer) asked a question.

How to get User Info/Claims at API end

Hi Team,

 

I have implemented OIDC Authentication using Angular and Asp.Net Core API. Am getting user information at Angular end, I also want to read user information from Asp.Net Core API once the authorization is done. Please tell me how read user info/claims at API. I have tried to read from HTTPContext.User.Claims but that is not giving me user information. Please help how to read.


  • User1612813090911983092 (Developer Support)

    Hi Shravan,

     

    Our code samples for reading user info with ASP.NET Core can be found here. Did you see any errors when trying to get user info?

     

    If you still aren't able to read user information after following that sample, please open a support case as we will need more detailed info for troubleshooting

    Expand Post
This question is closed.
Loading
How to get User Info/Claims at API end