Skip to content

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

fix default enable state for auth hooks to be true (#35942)

Petere8f4273499db
diff --git a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx
index 7cd4e09bc52..03919ee7c35 100644
--- a/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx
+++ b/apps/studio/components/interfaces/Auth/Hooks/CreateHookSheet.tsx
@@ -240,7 +240,7 @@ export const CreateHookSheet = ({
form.reset({
hookType: definition.title,
- enabled: authConfig?.[definition.enabledKey] || false,
+ enabled: authConfig?.[definition.enabledKey] || true,
selectedType: values.type,
httpsValues: {
url: (values.type === 'https' && values.url) || '',