> @baris said:
>
> You likely need to add a socket.io block to your nodebb config.json and add the next.js app domain in there.
>
> Something like:
>
> > "socket.io" :{ > "transports": ["polling", "websocket"], > "origins": "https://example.org:*,https://example.net/:*" > } >
Tried the socket.io origins block in config.json (with our Next app origin) and restarted NodeBB. Session Sharing still maps the user (POST /api/session-sharing/user → uid 3) but HTML pages (/, /recent, etc.) 302 and never set express.sid, so /api/config stays guest. We’re connecting from the Next server, not the browser. How do we get a session cookie after process() succeeds?