How would you securely call a protected tRPC route from a webhook?

I want to call a protectedProcedure from a webhook, but how could you do that without a user/session? What could I pass to ensure the call is coming from my webhook?
3 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Xaohs
Xaohs2y ago
I pass an api-key header to my endpoints for this
InfiniteCodeMonkeyTheorem
thanks guys this helps alot
Want results from more Discord servers?
Add your server