Hello IGhoseHome
Thanks for your time and patience. I was able to review this and got same results for my B2C tenant :
On checking further I found that :
A registered application receives tokens and communicates with Azure AD B2C by sending requests to these endpoints:
https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/authorize
-
https://
<tenant-name>.b2clogin.com
/<tenant-name>.onmicrosoft.com/oauth2/v2.0/authorize?
p=<policy-name>
https://<tenant-name>.b2clogin.com/<tenant-name>.onmicrosoft.com/<policy-name>/oauth2/v2.0/token
This is because when you ping or access login.microsoftonline.com it redirects you to default /authorize endpoint of Azure AD which is not the case with [ https://tenantname.b2clogin.com as it is dedicated to B2C.
Please do let me know if you have any further queries.
Thanks,
Akshay Kaushik
Please "Accept the answer", "Upvote" and share your feedback (Yes/No) if the suggestion works as per your business need. This will help us and others in the community as well.