Mel
Mel

Reputation: 2677

How to add supabase service role secret to clerk webhooks route.ts?

Im trying to figure out how to configure a clerk webhook that will insert a user in my users table when a user registers in clerk.

I have a supabase RLS set to true for service role.

My user table is not being populated with clerk registration - i think because i can't find a spot to put my service role secret.

i can't add it to my config file because it only accepts two arguments and that's taken up by the anon key.

Can anyone help with configuring clerk to populate the users table on create? Where do you put the service role key?

Upvotes: 0

Views: 10

Answers (0)

Related Questions