Azure AD B2C Custom Policy

戏子无情 提交于 2019-12-25 00:56:32

问题


I have implemented sign in/signup policies using Azure AD B2C custom policy. I came across two problems while doing this:

  1. Is there a method so I can add a button to sign in page which redirects on click? Or can I add a hyperlink in HTML document and call the policy to it?

  2. Is it possible to display what we type on a textbox in another label like in AJAX? As custom policies are created using XML, can I use data binding for this?


回答1:


At this point, Azure AD B2C pages only support HTML/CSS customization and not any JavaScript-based modifications.

I can't think of any other way for you to achieve either of the two behaviors your described other than using client side JavaScript.

You can support this ask and stay up to date on its progress by voting for it in the Azure AD B2C feedback forum: Add support for JavaScript inside the custom UI branding page



来源:https://stackoverflow.com/questions/45669476/azure-ad-b2c-custom-policy

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