From 2dcafdea8736521b99234ca0b66056afaebb804d Mon Sep 17 00:00:00 2001 From: Ollie Halliday <22655069+Hallidayo@users.noreply.github.com> Date: Tue, 18 Oct 2022 15:17:42 +0100 Subject: [PATCH] changed the signin example --- apps/reference/docs/guides/auth/auth-workos.mdx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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: '', - } ) } ```