Skip to content

Cookie shared between multiple sites, same domain #344

@fgruchala

Description

@fgruchala

Hi team,

Maybe I'm wrong, but I don't see how to configure the domain of the cookie.

About the need

Sharing a cookie between 2 websites on a unique domain : a.example.com and b.exemple.com

Proposal

In the nuxt.config.ts, have this kind of configuration :

vuetify: {
    moduleOptions: {
      ssrClientHints: {
        ...
        prefersColorSchemeOptions: {
          cookieName: 'theme',
          cookieDomain: '.example.com'
          // other configuration for cookie
        },
      },
    },
    vuetifyOptions: {
      ...
    },
  },

Thanks a lot for your attention :)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions