Managing external identities to enable secure access for partners, customers, and other non-employees
Encountering 400 - Invalid Request error during the Microsoft Entra External ID user flow because of Entra incorrectly passing an unsupported username parameter to Google's OAuth 2.0 endpoint
I am currently facing an authentication issue while integrating Google login via Microsoft Entra External ID (SignInSignUp user flow) for my application, and I would appreciate your guidance in resolving it.
Issue Summary:
When users select “Sign in with Google” directly from my application, the authentication flow works as expected and login is successful.
However, when users attempt to log in via the Microsoft Entra SignInSignUp user flow, the authentication fails with a 400 – Invalid Request error.
Observed Error:
The Google authentication screen displays the following error:
Access blocked: Authorization Error
Error 400: invalid_request
Parameter not allowed for this message type: username
Request details: flowName=GeneralOAuthFlow
Expected Behavior:
Users should be able to authenticate successfully using Google accounts through the Entra SignInSignUp user flow, similar to the direct “Sign in with Google” experience in the application.
Additional Context
- Google identity provider is configured under External Identities → Identity Providers in Entra.
- Client ID and Client Secret are configured.
- The issue seems to arise specifically during the Entra-orchestrated Google authentication flow, not during direct Google OAuth login.
Your guidance would be greatly appreciated, as resolving this is critical for us to enable smooth onboarding of Gmail-based external users.
Thanks in advance for your support.