keycloak-angular: Infinite reload issue with chrome browser
Bug Report or Feature Request (mark with an x
)
- [x ] bug report -> please search for issues before submitting
- [ ] feature request
Versions.
“keycloak-angular”: “^7.0.1”, “keycloak-js”: “^7.0.1”,
Repro steps.
after login success
The log given by the failure.
Desired functionality.
I have the problem…
ERROR Error: Uncaught (in promise): An error happened during access validation. Details:false at P (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at P (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1 at a.invokeTask (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at Object.onInvokeTask (VM5332 main-es2015.4ee6d5a61b65f4b61130.js:1) at a.invokeTask (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at s.runTask (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at _ (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at c.invokeTask [as invoke] (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1) at y (VM5330 polyfills-es2015.0ef207fb7b4761464817.js:1)
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20
A similar error occurred at my application. Infinite loading after page refresh (if user logged in). I fixed that by changing my keycloak init function to:
Simply, I deleted the
silentCheckSsoRedirectUri
frominitOptions
and addedcheckLoginIframe: false
Earlier I had activesilentCheckSsoRedirectUri
withcheckLoginIframe:false
and it caused the error.Keycloak: 12.0.1 keycloak-angular: ^8.1.0 keycloak-js: ^12.0.2
Hope it helps you guys.