I might just give up and use Supabase edge functions, but I wanted to ask how the below might work securely?
A user clicks a button
This triggers an API call to a webhook (that I’m hosing on n8n)
The webhook receives the API call and then executes a worklow on n8n.
On step #2 & #3, if the webhook does not have authentication enabled, anyone on the web can just ping my webhook which would kick off my automation (bad!). I can set up custom authentication credentials on the webhook, but how do I store these credentials so that front-end users cannot see the credentials exposed on the request?
Interesting. I’d need to dig more into that @Broberto, but thankfully there are some Supabase/Stripe tutorials I’ve been following that are allowing me to make some progress. Supabase is probably the “proper” way to build this sort of thing too I’d imagine.