Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subdomain cookies error #1105

Open
avarobinson opened this issue Oct 24, 2024 · 0 comments
Open

Subdomain cookies error #1105

avarobinson opened this issue Oct 24, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@avarobinson
Copy link
Collaborator

Thanks for filling out this bug report. Please provide as much detail as possible.

[REQUIRED] Environment

  • Browser version:
  • AA SDK version:
  • Package:

[REQUIRED] Describe the problem

When clicking a link in one project that redirects to another on a subdomain they get this:
State loaded from storage couldn't be migrated since no migrate function was provided error being thrown when using subdomain cookies.

image

Example config:

sessionConfig: {
    expirationTimeMs: 2 * 60 * 60 * 1000,
    domain: !process.env.NEXT_PUBLIC_VERCEL_ENV
      ? "localhost" // local development
      : ".merp.io",
  },

How to reproduce:

Relevant code or sample repro:

@avarobinson avarobinson added the bug Something isn't working label Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant