1
Implementing custom auth for edge functions
Source: supabase/supabase#9642 · opened by @barrelltech
I'm using paddle as a payment provider, and would like to use supabase edge functions to listen to the updates via web hooks. As far as I can tell, this is not currently possible. The three methods for verification I can think of are:
1. Whitelisting the IP addresses paddle uses
2. Decrypting their GPG key they send with every request
3. Adding an authorization header onto the URL
I believe only the last option could work with supabase edge functions, but I can't seem to get the authorization working via a query param. Is there any way to get this working with the current implementation of supabase edge functions? If not, are there any plans to support this sort of use case? I cannot add custom headers via Paddle AFAICT
links to the Paddle docs about their web hooks:
1. Whitelisting the IP addresses paddle uses
2. Decrypting their GPG key they send with every request
3. Adding an authorization header onto the URL
I believe only the last option could work with supabase edge functions, but I can't seem to get the authorization working via a query param. Is there any way to get this working with the current implementation of supabase edge functions? If not, are there any plans to support this sort of use case? I cannot add custom headers via Paddle AFAICT
links to the Paddle docs about their web hooks:
No pledges yet. Be the first to back this.
Comments
Similar requests
Enable Syncing of Vault and Edge Function Secrets
1 vote · 0 comments
NestJS Support in Supabase Edge Functions
17 votes · 0 comments
Improving the functionality of Edge Functions
3 votes · 0 comments
Feature Request: Add Descriptions for Edge Functions
2 votes · 0 comments
Optionally store self-hosted Edge Functions in S3
1 vote · 0 comments
No comments yet.