Active Directory
A set of directory-based technologies included in Windows Server.
6,131 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When a user logs in, I hit a REST API that verifies the username and password and returns some properties like personId, comUsername, wcfToken, and organizationCode. These properties are then returned to the user as an access token.
This is how my Access token looks like on the initial login
but when I refresh token
const tokenRequest = {
scopes: scopes,
account: msalInstance.getActiveAccount(),
forceRefresh: true,
} as SilentRequest;
console.log(await msalInstance.acquireTokenSilent(tokenRequest));
Why am I not receiving the expected claims? I heard something about persisted claims, but I'm not sure where exactly I have to write that code.