I use 17.0.2 version of angular-oauth2-oidc, Angular V17 and i have silent refresh enabled. Silent renew is working fine in all the browser and real mobile devices, but not working when browser has Toggle Device Toolbar enabled in devTools (Chrome, Edge and i guess all browsers).
To Reproduce
Steps to reproduce the behavior:
- Go to Developer Tools
- Enable 'Toggle Device Toolbar' or Ctlr+Shift+M
- Have Mobile/Tablet view enabled.
- Silent Renew iframe is not loading the url when renewing the token.
My question
Is there any restrictions applied with angular-oauth2-oidc to restrict iframe url getting loading at emulation mode ?
Browser
- Chrome - (Toggle Device Toolbar - View)
Additional context
Getting 'Automatic silent refresh did not work' error when debugging. I did debug the silentRefresh() function and found body.appendChild(iframe) is happening and that iframe url is not loading the token.oauth2.