julianlam / nodebb-plugin-session-sharing

Allows login sessions from your app to persist in NodeBB
MIT License
88 stars 65 forks source link

How to integrate this with my website #33

Closed kaviyarasu7 closed 7 years ago

kaviyarasu7 commented 7 years ago

Hi There,

I have two sub domains

  1. demo.mydomain.com - my application
  2. forum.nodebb.com - nodeBB
julianlam commented 7 years ago

As long as the cookie is readable from both sites (that is, the domain for both sites match), then the cookie can be read and decrypted by NodeBB.

That said, if you're using a forum.nodebb.com style URL, then they're not on the same domain, so that is a problem. Are you one of our clients? Please reach out to us via support@nodebb.org for service. Thanks!