When users are logged into WordPress with Discourse as the SSO provider, the login process begins by redirecting the user to
http://example.com?discourse_sso=1&redirect_to=http://example.com/your-landing-page.
It should be possible to get this to work with a headless WordPress site. Let us know if ou run into any problems with it.