Chrome is caching the initial successful request to my Gatekeeper Application.
So when I close the browser and open again, going to my Website. I am getting an cached 200 OK
without an initial Redirect.
So another part of my app makes a call to a backend, which is redirected, because not cached. Till to an Options-Request to
https://dev.localhost/auth/realms/internal/protocol/openid-connect/auth?
client_id=MY_CLIENT&
redirect_uri=http%3A%2F%2Fmy-spa.dev.lkw-walter.com%2Foauth%2Fcallback&
response_type=code&
scope=openid+email+profile&
state=c2063e33-c4d5-473f-a072-cdff867222f6
Where I am getting No-Cors Header in return and a CORS-Error by the browser.
My solution would be trying to get into initial cache-busting. so that the Chrome wouldn’t Cache the initial 200 OK. Do you have another idea?