We run WordPress, a second website based on moodle (a learning management system), and Keycloak on three different subdomains of the same domain. Both moodle and WP accept SSO from Keycloak in the sense that Keycloak is the only place were people put in their credentials.
However, if I log in to moodle and then visit WP, I am not logged in. I see a login button and have to use it to initiate communication between WP and Keycloak, so that I would eventually be logged into WP. That's perfectly fine for many scenarios, but we want a unified user experience across the entire platform: Users shouldn't have to log in separately. The second login should happen without them noticing. For example, if a user logs into moodle and then navigates to WP, they should immediately see the elements that are reserved for logged-in users (but no login button).
We are not sure how we can achieve this goal. Is there a standard solution so that Keycloak can also log the user into other subsystems in the event of a login? If so, I would appreciate some advice. Or will we have to develop plug-ins for moodle and WP to trigger the corresponding process in the other subsystem in the event of a login/logout?