How to implement SSO with react app

Thanks. As I understand I need to have at least two apps (for example, two SPAs) to get SSO work?