Is it possible to hide url segment of azure b2c url? I have custom domain and I was forced to use Azure Front Door service. I see this service has url rewrite feature, so possible instead of this url
https://login.mydomain.com/tenant-id/oauth2/v2.0/authorize?p=B2C_1A_SIGNIN&client_id=..
I can have something like this
https://login.mydomain.com?p=B2C_1A_SIGNIN&client_id=..
Or even this (add default parameters if they not presented in original url)
https://login.mydomain.com
As Dave says, you cannot manipulate the URL in this way, but there are other things you can do if you're just looking something prettier.
You can use your custom domain instead of the yourtenant.onmicrosoft.com or the tenant guid, which may look better. For example, if you buy another domain you could have
https://login.mydomain.com/apko.xyz/oauth2/v2.0/authorize
.Moreover, any query parameters can be sent in the body of a HTTP POST request so you'd end up with a much cleaner URL:
POST https://login.mydomain.com/tenant-id/oauth2/v2.0/authorize