Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

changed the signin example

Ollie Halliday2dcafdea8736
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: '<your_connection>',
+ organization: '<your_organization',
+ provider: '<your_provider>',
+ }
+ }
},
- {
- connection: '<your_connection>',
- organization: '<your_organization',
- provider: '<your_provider>',
- }
)
}
```