简体   繁体   English

如何修改 Azure Web 应用程序的 Azure AD B2C 登录/注册页面

[英]How to modify the Azure AD B2C SignIn/Signup page for Azure web app

I have an Azure web application that uses Azure AD B2C with Microsoft Identity user flow.我有一个 Azure Web 应用程序,它使用 Azure AD B2C 和 Microsoft Identity 用户流。 The resulting page for SignIn and SignUp uses non-US English for the display prompts for Name and Last Name (the default apparently uses as display prompts Given Name and Surname).登录和注册的结果页面使用非美国英语显示姓名和姓氏提示(默认情况下显然使用名和姓作为显示提示)。 I need to find out if I can modify the standard display prompts.我需要找出是否可以修改标准显示提示。

You can change any string AAD B2C renders by modifying the language: https://docs.microsoft.com/en-us/azure/active-directory-b2c/language-customization?pivots=b2c-user-flow#customize-your-strings您可以通过修改语言来更改 AAD B2C 呈现的任何字符串: https ://docs.microsoft.com/en-us/azure/active-directory-b2c/language-customization?pivots=b2c-user-flow#customize-your -字符串

Download the default English JSON for the page you're interested in through the Azure portal, then modify the wording in the file.通过 Azure 门户下载您感兴趣的页面的默认英文 JSON,然后修改文件中的措辞。 Then upload the json file back into the Azure portal.然后将 json 文件上传回 Azure 门户。

Yes, you can customise the pages and localise them: https://docs.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-user-flow是的,您可以自定义页面并对其进行本地化: https : //docs.microsoft.com/en-us/azure/active-directory-b2c/customize-ui-with-html?pivots=b2c-user-flow

I know it's considered bad form to just post a link, however there is little to be gained by paraphrasing the details here and the official Microsoft documentation isn't going to disappear.我知道仅仅发布链接被认为是不好的形式,但是在这里解释细节并没有什么好处,微软官方文档不会消失。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM