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 User3y ago
Message Not Public
Sign In & Join Server To View
Xaohs
Xaohs3y ago
I pass an api-key header to my endpoints for this
InfiniteCodeMonkeyTheorem
thanks guys this helps alot

Did you find this page helpful?