nuxt-auth icon indicating copy to clipboard operation
nuxt-auth copied to clipboard

Can I use the same identity across multiple subdomains?

Open MilesWuCode opened this issue 1 year ago • 0 comments

Describe the feature

I have two subdomains:

p1.domain.com p2.domain.com Both are using Nuxt Auth.

I want to maintain the authenticated state on p2.domain.com after logging in on p1.domain.com.

I've consulted the following documentation:https://next-auth.js.org/configuration/options#cookies

However, it's not working as expected. Am I missing something?

MilesWuCode avatar Sep 24 '24 07:09 MilesWuCode