I am using the Azure Active Authentication Library to log users into a WPF application. After the call, AuthenticationContext.AcquireToken()
I get AuthenticationResult
with some UserInfo
, but not provides ClaimsPrincipal
, which uses my application. In addition, it System.Security.Claims.ClaimsPrincipal.Current
returns only an empty main object with no claims filled by it. How can I get ClaimsPrincipal
for a registered user?
source
share