These are chat archives for spring-cloud/spring-cloud
I've got a situation where I have a auth server, a webshop and a portal. The portal is a spring cloud sso app, but my problem is with the webshop. the webshop should show the user as logged in if they are logged in at the authentication server, but not force the user to login until he purchases something.
I've thought I solved it by sharing the session between the auth server and the webshop via spring-session, but that fails when I want to do token forwarding to a separate resource server.
How can I make the shop try to login to the auth server, but if the user isn't logged in, wait until he reaches a certain uri and then force him?