![](/img/trans.png)
[英]How to get app role claims (Roles) in access token to protected API when using Javascript client app with MSAL.js
[英]How do I resolve a “No reply address provided” error when using MSAL.js?
我已復制此存儲庫中的示例應用程序以嘗試實現單點登錄: https://github.com/Azure-Samples/ms-identity-javascript-v2 。
在 authConfig.js 文件中的 msalConfig 的 auth object 中,我替換了我的應用程序的 clientId 和權限值,並使用了“http://localhost:5500”的 redirectUrl 值,因為我需要先在本地進行測試。
我得到了適當的 SSO 彈出窗口,該彈出窗口處理然后停止並出現以下錯誤:
AADSTS900971:未提供回復地址。
是否有一個服務器端設置必須到位才能正常工作? 這可以在我的機器上從本地主機(或 127.0.0.1)測試嗎?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.