IE Silent Refresh Problem
See original GitHub issueHello,
I’m getting below error while refreshing token in IE. How can I fix this issue?
Silent-Renew.html
<script> window.onload = function () { /* The parent window hosts the Angular application */ var parent = window.parent; /* Send the id_token information to the oidc message handler */ var event = new CustomEvent('oidc-silent-renew-message', { detail: window.location.hash.substr(1) }); parent.dispatchEvent(event); }; </script>
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Silent refresh not working with OIDC-client in Angular 5
The signin works fine and I'm able to acquire a token. However, the silent refresh doesn't fire, nothing happens. When I subscribe to...
Read more >Why is authentication lost after refreshing my single page ...
Question: Why is authentication lost after refreshing my SPA? Answer: There could be a few different reasons why authentication is lost ...
Read more >How to do silent refresh from SPA that uses implicit flow
I'm trying to prompt the users before the session expires and if the user decides to extend the session, a silent refresh of...
Read more >AADSTS50058: A silent sign-in request was sent but no user ...
The reason that the error occurs is because a silent sign in is sent to the login.microsoftonline.com endpoint, however the AADSSO cookie isn't ......
Read more >X-Frame-Options and silent refresh | FusionAuth Forum
I am using angular-oauth2-oidc library to replace the Auth0 library. The issue I am having is using implicit flow and the silent refresh...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes I’ve included, This error was about CustomEvent function in silent.renew.html file. CustomEvent funtion not supported by IE.
https://github.com/damienbod/angular-auth-oidc-client/blob/master/API_DOCUMENTATION.md#silent_renew_url
The customEvent would need to be replaced with an IE friendly javascript function.
polyfill: https://developer.mozilla.org/en-US/docs/Web/API/CustomEvent/CustomEvent