diff --git a/apps/reference/docs/guides/auth/auth-workos.mdx b/apps/reference/docs/guides/auth/auth-workos.mdx index e7e9c932b8d..422666106ad 100644 --- a/apps/reference/docs/guides/auth/auth-workos.mdx +++ b/apps/reference/docs/guides/auth/auth-workos.mdx @@ -65,12 +65,14 @@ async function signInWithWorkOS() { const { data, error } = await supabase.auth.signInWithOAuth( { provider: 'workos', + options: { + queryParams: { + connection: '', + organization: '', + } + } }, - { - connection: '', - organization: '', - } ) } ```