Identity server redirection not working after token expired and getting 302 found

121 Views Asked by At

We have SPA with the IDS 4 and its does not redirect to the login screen post token expires.

Getting below response as blank screen as it does not redirecting to identity server urls.

enter image description here

I have configured the CORS in the IDS as well. I have tested the sample MVC client against the same IDS and it working as expected post expiration and redirecting to login page.

But with the SPA that we have its not behaving as expected with this. Is this related to the headers issue or is there any configuration to be done?

Appreciate any help on this, thanks

And this works perfectly post reload of the page on the 302 error page. So I have tried reloading the page from the client app but still in subsequent login it fails as it has too many cookies already created in the app and throws 413 status code. So I don't want to handle it from frontend by any chance.

0

There are 0 best solutions below