Implementation Methods for Sharing Cookies Between Subdomains and localStorage Between Different Domains

Tadashi Shigeoka ·  Thu, May 6, 2021

I’ll introduce reference information for implementing cookie sharing between multiple subdomain services and localStorage sharing between different domains.

Background: Want to Share Cookies and localStorage

  • Want to share cookies between subdomains
  • Want to share localStorage between different domains

I’ve compiled articles that would be helpful for implementation to meet these requirements.

Background Knowledge: JavaScript-Generated Cookie Storage Period of 7 Days

Implementation Reference Information

That’s all from the Gemba about sharing cookies between subdomains and localStorage between different domains.