Skip to content

Commit eddaded

Browse files
docs: Auth hooks Keys changes (supabase#45168)
1 parent 7739b7a commit eddaded

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/docs/content/guides/auth/auth-hooks/before-user-created-hook.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,7 @@ import { createClient } from 'https://esm.sh/@supabase/supabase-js'
727727

728728
const whSecret = Deno.env.get('BEFORE_USER_CREATED_HOOK_SECRET')?.replace('v1,whsec_', '')
729729
const supabaseUrl = Deno.env.get('SUPABASE_URL')
730-
const supabaseKey = Deno.env.get('SUPABASE_SERVICE_ROLE_KEY')
730+
const supabaseKey = Deno.env.get('SUPABASE_SECRET_KEY')
731731

732732
const wh = new Webhook(whSecret)
733733
const supabase = createClient(supabaseUrl, supabaseKey)

0 commit comments

Comments
 (0)