nxus / router

The Nxus router is an Express compatible web server and router for Nxus applications.
MIT License
0 stars 0 forks source link

Cookies/sessions need to support subdomains #18

Open mjreich opened 6 years ago

mjreich commented 6 years ago

Currently sessions are only persistend for the domain, not subdomains. Likely need to add an explicit domain nxusrc config so you can specify an un-terminated tld:

https://stackoverflow.com/questions/11850977/sessions-across-subdomains-in-express

loppear commented 6 years ago

Session config is per RouterSessions implementation, so:

"waterline_sessions": {
  "cookie": { ..... }
}