url rewriting – Hide url segment of azure b2c

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

Read more here: Source link