So I already success implement SSO using spring session and redis on development localhost domain. But when I deploy to server using two sub domain.
login.example.com
apps.example.com
They always create new session Id on each sub domain. I already try to configure using Context in tomcat configuration.
<Context sessionCookieDomain=".example.com" sessionCookiePath="/">
But no luck.