Thank you for posting your query on Microsoft Q&A, from above description, I could understand that you are getting "bad request" when trying to access B2C hosted app with Auth0 IDP.
Please do correct me if this is not the case by responding in the comments section.
For the Authorized redirect URIs, enter https://your-tenant-name.b2clogin.com/your-tenant-name.onmicrosoft.com/oauth2/authresp
. If you use a custom domain, enter https://your-domain-name/your-tenant-name.onmicrosoft.com/oauth2/authresp
. Replace your-domain-name
with your custom domain, and your-tenant-name
with the name of your tenant**.** Use all lowercase letters when entering your tenant name even if the tenant is defined with uppercase letters in Azure AD B2C. In all instances, replace your-tenant-name
with the Directory (tenant) subdomain. For example, if your tenant primary domain is contoso.onmicrosoft.com
, use contoso
. If you don't have your tenant name, learn how to read your tenant details.
- Your callback URL contains tenant name as "devdomain" however As per your domain well known open ID configuration your domain name looks to be dev-domain, kindly replace
https://devdomainb2c.b2clogin.com/devdomainb2c.onmicrosoft.com/oauth2/authresp
with
https://https://dev-domainb2c.b2clogin.com/devdomainb2c.onmicrosoft.com/oauth2/authresp
- The authorization endpoint in in metadata has been defined as
<Item Key="authorization_endpoint">https://dev-domain.us.auth0.com/authorize</Item>
However as per your .well-known/openid-configuration authorization endpoint should be
"https://dev-domain.auth0.com/authorize"
Kindly try the suggested changes and let me know if any further inputs are needed.
Please "Accept the answer (Yes)" and "share your feedback ". This will help us and others in the community as well.
Thanks,
Akshay Kaushik