How to work with login_hints using Azure custom policy for B2C and B2B combined users

女生的网名这么多〃 提交于 2019-12-11 04:27:30

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!