Skip to content

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

fix: add email scope to custom sign in (#38551)

Alaister Young9ef8ba264826
diff --git a/apps/studio/components/interfaces/SignIn/SignInWithCustom.tsx b/apps/studio/components/interfaces/SignIn/SignInWithCustom.tsx
index a51b1a25a0d..03730971fce 100644
--- a/apps/studio/components/interfaces/SignIn/SignInWithCustom.tsx
+++ b/apps/studio/components/interfaces/SignIn/SignInWithCustom.tsx
@@ -29,7 +29,7 @@ export const SignInWithCustom = ({ providerName }: SignInWithCustomProps) => {
const { error } = await auth.signInWithOAuth({
// @ts-expect-error - providerName is a string
provider: providerName.toLowerCase(),
- options: { redirectTo },
+ options: { redirectTo, scopes: 'email' },
})
if (error) throw error