【发布时间】:2015-02-26 05:53:58
【问题描述】:
我有一个使用 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
我已经关注this 教程。
有谁知道发生了什么或者我该如何调试?
【问题讨论】:
标签: angularjs authentication azure adal