How do I bypass IdP selection in the “edit profile” policy in Azure AD B2C?

走远了吗. 提交于 2019-12-24 07:03:32

问题


I am integrating an "edit profile" policy into a mobile app. The starting scenario is that the user is already signed in, either with a local (email) account or a social account.

Whenever I invoke the "edit profile" policy from the app, it first displays an IdP selection page. Since the user is already signed in, this is extremely confusing for the user, and unnecessary. Furthermore, if the user is signed in with a local account, she is forced to enter her credentials again.

How can I configure the B2C policy (or the app) such that the user gets straight to the actual profile editing page?


回答1:


You bypass it by removing the prompt=login parameter from the policy URL.

Test it like this:

  1. Open a new browser, and use the sign in journey and login.
  2. Open a new tab, and paste the Profile Edit link, remove the prompt=login query parameter.
  3. Open the link and you are taken straight to the Edit Profile page, rather than seeing a sign in page.


来源:https://stackoverflow.com/questions/52147584/how-do-i-bypass-idp-selection-in-the-edit-profile-policy-in-azure-ad-b2c

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