Hi @rv_dev ,
In this scenario, there are 2 applications with two different Redirect URIs involved.
- Microsoft account application: This is used when you authenticate using Microsoft account and after successful authentication it posts the response to B2C at https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp.
- Federated application: This is the application that is federated with Azure AD B2C and it's reply url (aka redirect uri) is where the token issued by B2C is posted.
Based on the information that you have shared, I am suspecting a problem with Microsoft Account application. Please verify if the redirect_uri is configured as per the above url.
-----------------------------------------------------------------------------------------------------------
Please do not forget to "Accept the answer" wherever the information provided helps you to help others in the community.