I have an application on localhost:3000 which does the sign up/in process. The user can do its job and once it’s done he gets redirected to xyz.localhost:3001 where his work can be previewed.
It all working well but I’m preparing my app for edge cases. So I logged out of localhost:3000 and cleared site data from the Chrome dev tool Application tab. And after refresh the silent login kicks in but it fails because I logged out of localhost:3000 and the session layer is gone. Unfortunately silent-login redirects me to the following url:
If you repeat all the test steps you described but without clearing website cookies after logging out, how does silent authentication behave? Where the user is redirected?
Apparently nothing different happens, still see the same content after logging out of localhost:3000 and refresh at subdomain.localhost:3001
So in the meantime I come across this page:
Where it suggests to redirect to the login page without the prompt=none parameter.
And this is the bit I’m struggling with. I tried many thing without success.