I remove all sessions with db.sessions.remove({}) but now i can't logged in (403 Forbidden) also when i restart nodebb ?? but cookie domain was .domain.com now one step forward, one step backward.
Edit : loggin with Firefox works but not with chrome.
ReEdit : sorry clear cache solve it. So now i have the same cookie (.domain.com) in chrome debugger at forum.domain.com and app.domain.com. Thank you very much.
T
Tristan
@Tristan
Posts
-
Lost in subdomains ! -
Lost in subdomains !I don't understand, I've put .domain.com in that field (restart nodebb) but in chrome debug the cookie domain is still subdomaion.domain.com and my app does not access cookie ?
-
Lost in subdomains !Yes the question is about session sharing. I want users logged in nodebb and reuse session in the other app. NodeBB as identity provider. Is nodebb-plugin-session-sharing intended for this purpose ?
In ACP > settings > advanced what does 'Set domain for session cookie' mean if we set '.domain.com' (with dot) ? -
Lost in subdomains !Hi, if my forum is forum.domain.com and another application is app.domain.com (same domain) is there a way to read express.sid set by nodebb from app.domain.com ? thank you.