SupabaseS
Supabase2w ago
A

Issue verifying OpenAI webhook signature in Deno Edge Function

Hi everyone,

I’m trying to use the OpenAI package to verify webhook signatures within an Edge Function. The problem is that openai.webhooks.unwrap uses Buffer, but Buffer is not available in the Deno environment of an Edge Function.

Has anyone faced this before? What’s a good workaround for this limitation?

Thanks in advance!
Was this page helpful?