Hi Anupam Baksi,
Thank you for posting your query on Microsoft Q&A.
Based on your query, I understand you have an issue with changing the application URLs and endpoints and customize with your custom domain name.
The information you provided confirmed that your custom domain has been configured and working with your policies. However, you would like to customize the endpoint URLs as well. Here are the three endpoints on which Azure AD B2C works:
-
https://<custom-domain>/<tenant-name>/
<policy-name>
/v2.0/.well-known/openid-configuration
-
https://<custom-domain>/<tenant-name>/
<policy-name>
/oauth2/v2.0/authorize
-
https://<custom-domain>/<tenant-name>/
<policy-name>
/oauth2/v2.0/token
These URLs you can need to add the name of your domain in place of custom domain and provide tenant name and policy names accordingly.
If you are working with social identity providers as well, please go through the steps in this doc. By this document, you will understand to add redirect URI with your custom domain to the application. This will make sure to have custom domain while sign in with social IDP's as well. Here is the sample:
-
https://<custom-domain-name>/<tenant-name>/oauth2/authresp
Additional information:
Here are the frequently asked questions of custom domain: https://learn.microsoft.com/en-us/azure/active-directory-b2c/custom-domain?pivots=b2c-custom-policy#frequently-asked-questions
I hope this information is helpful. Please feel free to reach out if you have any further questions.
If the answer is helpful, please click "Accept Answer" and kindly "upvote it". If you have extra questions about this answer, please click "Comment"