How to use SSO (Discourse on subdomain)

Here external site received successful logged-in user details. Yes you can start a session.

It is just a placeholder. You have to replace your own code to create a new session in your website.

Also since the script you referred is not official I don’t know whether it is valid working one or not.