I am working on an Azure Microsoft Entra External ID authentication in my MAUI Blazor hybrid app. I have a user flow in my tenant to allow external users to sign in via Google. When I created it, it was tied to an app registration that no longer exists. When I login using the user flow, I get an error claiming I am using the wrong client id, but the client is correct. The one it mentions does not even exist:
AADB2C90011: The client id [NEW CLIENT ID] provided in the request does not match client id [OLD CLIENT ID] registered in policy.
I created (from scratch) an app registration and a user flow. Then I updated the user flow to include the app registration but it still shows the same error. I cannot even delete the old application from the user flow which I think would fix the issue. What policy could be forcing all user flows to use the [OLD CLIENT ID] even if the user flow does not have that client id registered as a valid one?
I have waited some time before trying again:
- Deleted all associated app registrations (I also deleted the API app registration).
- Deleted the Google Identity provider.
- Deleted the user flow.
- Recreated the web app registration.
- Recreated the user flow.
- Reconfigured the Google Identity provider with a new client secret.
- Associated the newly recreated app registration to the newly recreated user flow.
- Waited 10 minutes.
I still see the same behavior.