Need a way to create a cookie so that node js server can access it (cross domain)

I have a Node.js server with socket.io. Many domains will communicate with this node server.

I need a way to create a cookie with the domain as my node.js server so that, when a client my node.js server can access this cookie.

This is for identifying the clients on reloads or page navigation with in the domain.

I have searched a lot for this, but couldn't find a solution. I have seen many people leveraging authorization event. I am afraid I don't know when this gets triggered and the call backs. I am unsure if this can sent a cookie back to the client.

If you need any more information, please let me know.