I have configured SAML Authn Handler to enable login on website. We have 2 publish instances behind 2 dispatchers and a loadbalancer.
Encapsulated tokens are enabled on the 2 publish instances . When we login , user gets created on the publish instance serving the request but on refresh the request goes to 2nd publish instance and I get 404. On 2nd publish instance I can see the username of loggedin user in access log but the same user is not present in useradmin and request shows 404.
How can I ensure that users are synchronized between the 2 publish instances automatically so that we dont get 404 errors ?
Users on publish instances will be separate from author instance, those will be website visitors authenticated via SSO. Author instance does not have SSO.