Session secret sharing cookies between two applications


#1

Hey guys!
I want to share cookies between two subdomains

  1. written with express
  2. written with adonisjs

in express I pass session middleware with config like this

In adonisjs there are at least two places where u can specify cookies config/app, config.session.
How and where in adonisjs I should specify domain, secret ?
Redis is used as storage

thank you for your help