Discourse session variables

Don’t do it, man. Don’t try rummaging around inside cookies you didn’t create. It’ll end in tears. The internal format of the cookies that Discourse sets are liable to change at any time, in any way, without any notice – and they do.

What you want is to configure Discourse to act as an SSO provider, and then write your nodeJS app to act as an SSO consumer talking to Discourse. This topic should have all the info you need.

12 Likes