You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
createServerClient and createBrowserClient disagree on storage key when both cookieOptions.name and auth.storageKey are set #302
With the same options, createBrowserClient uses cookieOptions.name as the storage key, while createServerClient uses auth.storageKey. The browser writes the session to one cookie and the server reads another, so the server sees no session. This only happens when both options are set to different values.
In createBrowserClient.ts, ...options?.auth is spread first and cookieOptions.name overrides it. In createServerClient.ts the order is reversed.
Activity