I have created a Azure AD B2C directory/tenant and created a new sign up/sign in user flow as per below:
Notice that the Identity Provider is set to user id signup (i.e. usernames).
I've created a user with the username hughbe.
When I get a JWT access token using the following code:
const { instance, accounts } = useMsal();
const token = await instance.acquireTokenSilent({account: accounts[0], scopes: ...});
I only get the following idTokenClaims
Is it possible to configure Azure AD B2C to include a user's username
field in the list of Application Claims? It doesn't appear in the list: