-
Notifications
You must be signed in to change notification settings - Fork 841
__zone_symbol__xhrScheduled error with silent refresh and IE/Edge #528
Comments
What was the ultimate issue? |
Was getting the error with IE/Edge only, when an Angular page was set as the callback. I worked around it by using plain silent.html/silent.js pages instead. |
This is what I recommend, because 1) the OIDC callback needs to use the hash fragment to pass params and some frameworks are a PITA with not playing nice here, and 2) I'd encourage to avoid superfluous code on the callback to avoid XSS and other possible security vulnerabilities. The callback is the very sensitive handoff from the STS back to your app. |
I am getting the same error in IE/Edge as @DevInstinct when I'm using oidc-client library:
@DevInstinct you mentioned above you used a work around silent.html/silent.js, can you please share the js file and give more information about his work around? |
I configured the manager to use: In the plain html file I have:
And silent-refresh.js contains only:
|
Thank you @DevInstinct for your Quick Feedback !!! I followed that, but I get the following error
Any idea please ? |
when I try with this (in the silent-refresh.js file)
I get the following error
|
I suspect it's due to the lambda. |
Yes, it's due to the lambda, but even changing the code below (without lambda),
I get the following erreuir
|
So you're running in IE. You need a polyfill for Promise. |
Thank you @brockallen what do you mean by "You need a polyfill for Promise" ? |
You need to load in a JS file in IE to substitute for the lack of Promise in IE. Google for "polyfill" |
Thank you @DevInstinct and @brockallen for your assistance. It work by including the polyfill lib |
Silent refresh works fine in Chrome/FireFox.
In IE/Edge, right after the "silent refresh" event trace in the browser, I get these errors:
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null reference
zone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
ERROR TypeError: Unable to get property 'current' of undefined or null reference
SCRIPT5007: Unable to get property 'stackTraceLimit' of undefined or null referenceeval code (1466) (119,9)
SCRIPT5007: Unable to get property '__zone_symbol__xhrScheduled' of undefined or null referencezone.js (2959,1)
SCRIPT5007: Object expectedzone.js (192,1)
Thanks for any help.
The text was updated successfully, but these errors were encountered: