Getting JavaScript-errors when authenticating using ADAL

不问归期 提交于 2019-12-10 12:20:03

问题


I am using the Microsoft Graph API and am successfully querying a user's meetings and emails. A user (testing the application) reported a JavaScript-error during the authentication process with Office 365 (using ADAL), see Screenshot below.

A few months ago I noticed these pop-ups too, but they were gone after I've updated the ADAL Nuget-Package. I just checked and there is no update available (current version: 4.0.209160138-alpha).

I myself cannot reproduce the issue. It might be that using different O365 tenants cause this issue in some cases (as they load different login-screens), or something else.

Did somebody experience similar errors, knows why/when this happens and a fix for it?


回答1:


Can you check whether user able to open this url or not URL:- https://secure.aadcdn.microsoftonline-p.com/ests/2.1.4108.2/content/cdnbundles/jquery.1.11.min.js

If not then there the above mentioned url is block and hence user will get the error message.




回答2:


IE can get into a state where it's throws up dialog boxes for every little JS error. Here are instructions to disable it - Internet Options -> Advanced -> Check "Disable script debugging (Internet Explorer)" and uncheck "Display a notification about every script error"



来源:https://stackoverflow.com/questions/37341121/getting-javascript-errors-when-authenticating-using-adal

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!