Azure B2C Custom Policies OpenID Connect error

Pellegatti Andrea 1 Reputation point


I'm trying to set up Azure B2C Custom Policy to integrate with an OpenID IDP.
I set up all but getting the attached error.

the same IDP is working fine when used through the standard userFlows.


Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,703 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. AmanpreetSingh-MSFT 56,441 Reputation points

    Hello @Pellegatti Andrea · Thank you for reaching out.

    By tracking the request id, I found that the Reply URL in the authentication request is:  

    However, the Reply URLs (Redirect URIs) registered on the application: 65c44291-xxxx-xxxx-xxxx-ac1bcc6d5e26 are:  

    To resolve the issue, make sure that the Reply URL in the authentication request is added to the application: 65c44291-xxxx-xxxx-xxxx-ac1bcc6d5e26.


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.