How to get SSO working with a Wordpress site? I’m a noob

Thanks so just for final clarification,

The two sites don’t need to be in a single docker in order to work?