I'm working on B2C app, where signup and signin works fine in Azure AD B2C.
In my default tenant, I have registered an app (which will work as external identity) for my B2C signin and signup page. In my default tenant, I have registered app having (APP ID: 1f8f1983-e995-471e-8ce7-b5bd04332807) and the URL (/redirect URI) is the b2c "signupandsignin" url.
That is, app registered in the default directory has APP ID: 1f8f1983-e995-471e-8ce7-b5bd04332807 and redirect URI is here, its signupandsignin URL
In my b2c tenant end, I'm configuring custom IDP (as OpenId connect) and providing reference of metadata URL.
I think the metadata URL here is correct. But not very sure.
However, I'm getting another error:
You mention client id = 1f8f1983-e995-471e-8ce7-b5bd04332807
but the redirect URI is:
https: //jr1b2c.b2clogin.com/JR1B2C.onmicrosoft.com/oauth2/v2.0/authorize?p=B2C_1_signupandsignin&client_id=4be93275-79a0-4206-aad2-7b3509687da7
That is not the redirect URL which is actually jwt.ms. That is the auth endpoint.
But the client id is different?