Azure ad b2c 如何在Azure AD B2C自定义策略中创建自定义错误页

Azure ad b2c 如何在Azure AD B2C自定义策略中创建自定义错误页,azure-ad-b2c,Azure Ad B2c,使用时,如何为指定错误页?基于TFP-base-xml文件中的值,我本以为它应该是,但这不起作用 https://localhost:44377/ https://localhost:44377/Home/Error urn:com:microsoft:aad:b2c:elements:unifiedssp:1.0.0 签到 当前结果: 您可能希望更新api。错误内容定义: ~/tenant/default/exception.cshtml ~/common/default\u page

使用时,如何为
指定错误页?基于TFP-base-xml文件中的值,我本以为它应该是
,但这不起作用


https://localhost:44377/
https://localhost:44377/Home/Error
urn:com:microsoft:aad:b2c:elements:unifiedssp:1.0.0
签到

当前结果:


您可能希望更新
api。错误
内容定义:


~/tenant/default/exception.cshtml
~/common/default\u page\u error.html
urn:com:microsoft:aad:b2c:elements:globalexception:1.1.0
错误页
B2C何时会使用此内容定义?我们有一个类似的定义,但错误页面从未显示。如果您有任何想法,请查看您在本例中更改“LoadUri”的注意事项。