Keeping user logged in

Hello, I’m interested in using Keycloak for users to log in to our site.

Something I just cannot find any information about after searching long, is how should I keep the user logged in? I tried keycloak-nodejs-connect and that stores a session instead of a cookie which means that if a user closes the browser and returns to the site they get logged out which surely wouldn’t be ideal user experience.

Would be great to get an advice regarding that, thanks.

use technologies like openid connect or saml which is supported by keycloak. than you have true Single Sign On.