Guidance for User Profile Information (Open ID Connect) #19414
Unanswered
Mike-E-angelo
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been spending time getting Open ID Connect established in our solution and have finally got it to the point where it works as expected (turns out it was way easier to use the Duende templates).
There is an outstanding question with the
OidcAuthenticationProvider
specifically that I am hoping to get an answer to. There appears to be a call made to theOidcClient.LoginAsync
which returns aIdentityModel.OidcClient.LoginResult
that has aClaimsPrincipal
user object with it, along with the access (and other) token(s).If I understand correctly, the access (and other) tokens get persisted to the
ITokenCache
. However, there doesn't appear to be a way to access theLoginResult.User
and/or map values from its claims.I am curious if there is a preferred/suggested way to do this that I am overlooking.
Thank you for any assistance you can provide. 🙏
Beta Was this translation helpful? Give feedback.
All reactions