Context:
I've created a full authentication flow for my app which includes microsoft's new custom authentication extension by following the documentation.
I made a working prototype, after which i realised i also need personal accounts to log in. So i went in the manifest, changed
"accessTokenAcceptedVersion": 2,
"signInAudience": "AzureADandPersonalMicrosoftAccount"
AccessTokenVersionDocumentation
Login still worked for my AzureAd account.
After some more digging i found out Here that on the Client i had to change the authority
value to be "https://login.microsoftonline.com/
{TENANT_ID}
common"
I can log in with both personal and work account but the custom authentication extension is not called anymore, and the tokens i get don't contain those extra claims.
On the client i am using @azure/msal-react@1.5.4 and @azure/msal-browser@2.37.0