Managing external identities to enable secure access for partners, customers, and other non-employees
Hello Admin at PeriGenSolutions,
The error is not originating from Azure AD B2C itself. AADB2C90273 is a generic B2C error indicating that the external IdP (customer’s Entra ID tenant) returned an invalid response. In your case, the actual failure is AADSTS9002325, which is enforced by the customer’s Entra ID.
This usually happens when the Entra ID app registration used as the identity provider for B2C is configured as a SPA, while B2C performs the authorization‑code exchange via its server-side /oauth2/authresp endpoint. When marked as SPA, Entra expects PKCE for cross‑origin code redemption, which does not align with how B2C completes the federation flow.
Recommended fix:
In the customer’s Entra ID tenant, update the app registration used for B2C federation to a Web (confidential) application
Add the redirect URI: https://<b2c-tenant>.b2clogin.com/<b2c-tenant>.onmicrosoft.com/oauth2/authresp
Ensure the IdP is configured in B2C using a client secret or certificate
PKCE can remain enforced for the customer’s own SPAs, but B2C federation should use a Web/confidential client configuration. Once this alignment is corrected, the AADSTS9002325 error typically resolves.
Please have the customer validate this configuration on their Entra ID side and retry the user flow.