[email protected] (Same issue with [email protected])
In a SPA, trying to login with gmail account using Azure B2C.
I know about this : https://github.com/AzureAD/microsoft-authentication-library-for-js/wiki/FAQ#i-get-this-error-refused-to-display--in-a-frame-because-it-set-x-frame-options-to-deny , but this is taken care off in the code, my issue seems to be caused by something else given that it works in an Incognito window. Any ideas?
Js + LitElement
const authOptions = {
auth: {
clientId: this.config.client_id, authority: this.config.authority,
validateAuthority: false,
redirectUri: this.config.user_agent_app_config.redirectUri
},
cache: {
cacheLocation: 'localStorage' as CacheLocation
}
};
return new Msal.UserAgentApplication(authOptions);
// For Azure B2C issues, please include your policies.
B2C_1_signup_signin
Not browser specific
@acory To clarify, you are trying to sign in with a different account other than your gmail account?
@jasonnutter With the same account in both situations, my gmail account. (I updated the description)
Extra Info:
Extra Info :

I will try this: https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/609#issuecomment-520738294
@acory This is a known issue when you have multiple Google accounts logged in. Unfortunately this is a service issue and not something msal can fix. Generally we recommend you call acquireTokenRedirect or acquireTokenPopup if the silent acquisition fails. You can track #842 for updates on this particular issue and if you like, you can also open a ticket with the b2c service. Instructions are in this comment