问题
I need to redirect to the Azure login page based on the user directory i.e either B2C or B2B directory. I had created the custom policy based on the Azure starter pack. When I execute the custom policy URL with the query parameter login_hint in B2C it does not populate in the username textbox. For B2C Login I had customized the login screen.
Now when I redirect to the B2B login screen and add the same parameter then the username is populated in the sign in screen.
Now the questions is 1. B2C not populating the username textbox. Is it due to custom login UI? 2. How to pass the login_hint from B2C to B2B login URL. I am using domain_hint to redirect the user directly to the B2B login screen. But it does not pass the login_hint to the B2B login screen. Do I need to add or do changes in the custom policy files?
来源:https://stackoverflow.com/questions/47728015/how-to-work-with-login-hints-using-azure-custom-policy-for-b2c-and-b2b-combined