[英]ReactJS frontend with Azure AD B2C error UnsupportedAuthorityValidation
我有這個問題,我使用 ReactJS 前端和 Azure AD B2C,但是當我運行反應時顯示此錯誤“未捕獲(承諾)UnsupportedAuthorityValidation”我仍然不明白為什么
import b2cauth from 'react-azure-adb2c';
b2cauth.initialize({
instance: 'https://FunSuitDev.onmicrosoft.com/tfp/',
tenant: 'FunSuitDev.onmicrosoft.com',
signInPolicy: 'B2C_1_ADB2C_API',
applicationId: 'ae82c7fe-a82b-448d-905f-6a63827e92a4',
cacheLocation: 'sessionStorage',
scopes: ['https://FunSuitDev.onmicrosoft.com/teastAPI/user_impersonation'],
redirectUri: 'http://localhost:3000',
postLogoutRedirectUri: window.location.origin,
});
b2cauth.run(() => {
ReactDOM.render(<App />, document.getElementById('root'));
serviceWorker.unregister();
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.