-
Notifications
You must be signed in to change notification settings - Fork 538
Open
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working
Description
Bug report
- I confirm this is a bug with Supabase, not with my own application.
- I confirm I have searched the Docs, GitHub Discussions, and Discord.
Describe the bug
This change supabase/auth-js@9751b80#diff-3522461172efd6058d6b8da62fc2d30d8b524d2b64894ea2c67218c52f7fdff5R310 seems to introduce a ReferenceError: window is not defined error when initializing auth server-side via createServerClient from @supabase/ssr
To Reproduce
The error occurred in a Nuxt.js app however it should be reproducible by
import { createServerClient } from "@supabase/ssr";
const client = createServerClient(url, key, options);
await client.auth.getSession();in any SSR-based app.
System information
- OS: macOS
- Version of Node.js: v23.3.0
- Version of supabase-js: 2.47.10
- Version of @supabase/auth-js: 2.67.3,
- Version of @supabase/ssr: 0.5.2,
Metadata
Metadata
Assignees
Labels
auth-jsRelated to the auth-js library.Related to the auth-js library.bugSomething isn't workingSomething isn't working