Welcome to the Kinde community

Updated 2 months ago

Kinde Webhooks + Zod

At a glance

The community member has defined Zod schemas for different Webhook response types, providing validation and type safety. They have shared the schemas and an example NextJS app router endpoint using them. Another community member thinks this is great and will share it with their team, suggesting the original poster also share it in the showcase channel. The original poster thanks the other community member and says they will post it there as well.

Useful resources
Follow up to this - I've gone through and defined Zod schemas for each different Webhook response type. Validation + type safety in webhooks = ❤️

If anyone else is interested, I've provided the schemas here (as well as an example NextJS app router endpoint using them)

https://gist.github.com/Yoshify/12e70d5a3bbc2c9ed66a4207d2d2e9cc
I
B
2 comments
This is sick ! I'm sure it's gonna help a lot. I'm going to share it with the team. I'll suggest you post in the showcase channel too https://discord.com/channels/1070212618549219328/1161829324161286144
Thanks mate, I'll post it there too 😄
Add a reply
Sign up and join the conversation on Discord