我有一个使用 Azure Active Directory 进行身份验证的 angularjs Web 应用程序。应用程序使用的 Web Api 进行身份验证时没有任何错误。
对于客户端身份验证,我使用 adal.js 和 adal-angular.js。当我尝试访问我的应用程序中的任何页面时,身份验证失败并在控制台中打印以下消息
The returned id_token is not parseable.
Route change event for:/
Start login at:https://localhost:44308/#
Navigate url:https://login.windows.net/myapp.onmicrosoft.com/oauth2/authorize
Navigate to:https://login.windows.net/myapp.onmicrosoft.com/oauth2/authorize
TypeError: Cannot read property 'data' of undefined
我已按照本教程进行操作。
有谁知道发生了什么或我该如何调试?