Discourse app with SSO login

OK so discourse will have to be hosted on a sub domain, fine. But is there a way in the Discourse app to login via SSO pulling from primary domain user data?

I just want to know if using SSO, it’s realistically possible to maintain discourse app usability?