-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] When using google IDP with B2C, login prompt fails #1561
Comments
@westleyMS : can you please share with me (internally is fine) how to configure the tenant to enable the Google IdP? I'm supposing here (from the code) that this is not a B2C scenario? About the error, I think that Google probably wants you to use a system browser, instead of the embedded browser. |
It is B2C, here is what I followed to set it up- https://docs.microsoft.com/en-us/azure/active-directory-b2c/active-directory-b2c-setup-goog-app |
Then if this is B2C, @westleyMS, you need to use a B2C authority ( |
@westleyMS are you still having issues with this? |
Closing as this was answered |
Thanks for your help @jmprieur it was an issue with google requiring using a system browser and not the web browser control. |
Which Version of MSAL are you using ?
MSAL 4.7.1
Platform
Net 4.5
What authentication flow has the issue?
Is this a new or existing app?
New
Repro
Expected behavior
A token to be returned
Actual behavior
during logon, microsoft logon site redirects to google idp login, and shows the email, then when hitting 'next' we get an error about google not trusting the browser. Not sure why it doesn't trust it, it is the webbrowser control. Here is the error-
"This browser or app may not be secure.
Try using a different browser. If you’re already using a supported browser, you can refresh your screen and try again to sign in."
Possible Solution
We just need to find what kind of check the IDP is doing on the browser control that stops the login.
Additional context/ Logs / Screenshots
This all works fine if the user is from my AAD. Only Google IDP users fail.
The text was updated successfully, but these errors were encountered: