Hi @Vamsi Koganti ,
Thanks for reaching out.
You are getting error due to configuration issues in your web application.
The discovery URL you are using is of Entra ID rather than Azure AD B2C https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration
With B2C open ID connect, you can allow any users to use sign up/sign in policy to register in your B2C tenant with discovery URL https://<tenantName>.b2clogin.com/<tenantName>.onmicrosoft.com/<B2C policy name>/v2.0/.well-known/openid-configurationTo setup Open ID configuration in your B2C tenant, refer https://learn.microsoft.com/en-us/azure/active-directory-b2c/openid-connect
If that is not the scenario you are looking for, please explain the scenario so we can help you better.
Hope this will help.
Thanks,
Shweta
Please remember to "Accept Answer" if answer helped you.