Skip to content

Test Project to check the behaviour of setting cookies in sub-domains of an application from single server response

Notifications You must be signed in to change notification settings

mwaqar666/express-cross-domain-cookies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • Go to /main-domain and run npm install && npm run dev:watch
  • Go to /subdomain-01 and run npm install && npm run dev:watch
  • Go to /subdomain-02 and run npm install && npm run dev:watch
  • Remember to mention auth.application.com, api.main.application.com, api.reseller.application.com pointed to 127.0.0.1 in your hosts file
  • Visit auth.application.com:3000 in your browser and hit submit button
  • Check the cookies in the browser
  • Now goto other two servers i.e. api.reseller.application.com:3001 and api.main.application.com:3002 and check the cookies in developer console

About

Test Project to check the behaviour of setting cookies in sub-domains of an application from single server response

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published