We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
These instructions on integrating Clerk webhooks don't work when deploying to Vercel: https://redwoodjs.com/docs/webhooks#base64-sha256-verifier-used-by-svix-clerk
It ends up throwing WebhookVerificationError. The instructions do, however, work on Netlify.
WebhookVerificationError
I believe this may have to do with Vercel somehow pre-parsing and modifying the body.
The text was updated successfully, but these errors were encountered:
Hi @jonlemmon Thank you for open this issue. If you need any help for working on it, don't hesitate to ask :)
Sorry, something went wrong.
@skyriverbend I got it working in vercel with a fix from this issue:
#1410 (comment)
export const handler = async (event: APIGatewayEvent) => { const clerkInfo = { webhook: 'clerk' } const webhookLogger = logger.child({ clerkInfo }) const body = event.isBase64Encoded ? Buffer.from(event.body, 'base64').toString('utf-8') : event.body ...
Closing the issue, as suggested solution from @tmikeschu looks to me the probable cause.
Feel free to re-open if I'm mistaken :)
skyriverbend
No branches or pull requests
Summary and description
These instructions on integrating Clerk webhooks don't work when deploying to Vercel:
https://redwoodjs.com/docs/webhooks#base64-sha256-verifier-used-by-svix-clerk
It ends up throwing
WebhookVerificationError
. The instructions do, however, work on Netlify.I believe this may have to do with Vercel somehow pre-parsing and modifying the body.
Are you interested in working on this?
The text was updated successfully, but these errors were encountered: