How do I bypass IdP selection in the “edit profile

2019-08-15 09:29发布

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条回答
等我变得足够好
2楼-- · 2019-08-15 09:48

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.
查看更多
登录 后发表回答