From my main website site I am able to login to discourse using SSO but from my subdomain users are not able to login using SSO.
I thought I could achieve this by using the session cookies. i.e when the disourse sends the payload and sig I will validate those in main site and check the user is in the session with session cookies. If the user is not in session I will fire another request to subdomain with the session cookie sent by discourse, but the session cookies sent by discourse never matches. Hence My subdomain users are not able to login in discourse.
Please guide me to resolve this issue.