Hello,
I am trying to add Microsoft account as an identity provider to my application, so that any one with a personal microsoft account can log in. To simplify the learning, I did the exact steps mentionned in the tutorial https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-register-applications https://learn.microsoft.com/en-us/azure/active-directory-b2c/tutorial-create-user-flows?pivots=b2c-user-flow.
Still, it doesn't work for Microsoft accounts. It does work for emails but not microsoft account. When I test the user flow, I get "AADB2C90273: An invalid response was received : 'Error: invalid_request,Error Description: Proof Key for Code Exchange is required for cross-origin authorization code redemption.' Correlation ID: 25c5d1b8-df10-4a52-9310-111fa518439f Timestamp: 2024-08-15 16:40:20Z"
When I added Microsoft account as an identity provider, I used the client ID of the app I created in my Azure AD B2C tenant, and the secret I generated for it.
Has anyone a solution for that ?