Hi all,
I created a simple django app which simulates sso for discourse using the scripts mentioned here.
https://meta.discourse.org/t/sso-example-for-django/14258
The parameters of sso payload has to be hard coded. But you will be able to get this thing woking within several seconds. I will provide a readme soon. Please give feed-back about any issue.
https://github.com/sudaraka94/discourse-sso-simulation/tree/master