I have a problem with working in two tabs.
When I log in to an app, duplicate tab, log out from the second tab, and return to the first tab where I am still "logged" and make xhr request, I get CORS error.
But if I do the same steps but make not xhr request, everything is ok (I'm redirected to the login page).
I tried adding Access-Control-Allow-Origin = header using nginx.conf and lua, set Web origins = in Keycloak but nothing helps
Someone can answer why?
Hello,
I have a problem with working in two tabs. When I log in to an app, duplicate tab, log out from the second tab, and return to the first tab where I am still "logged" and make xhr request, I get CORS error.
But if I do the same steps but make not xhr request, everything is ok (I'm redirected to the login page).
I tried adding Access-Control-Allow-Origin = header using nginx.conf and lua, set Web origins = in Keycloak but nothing helps Someone can answer why?
Expected behaviour
Redirect to the login page
Actual behaviour
Get CORS error