get-convex / get-convex/workos-authkit

[Feature Request] Automatically set up WorkOS Webook URL for preview deployments

Open
#55 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
22
Forks
11
Avg merge
6d 3h
Merged PRs (30d)
4

Description

I'm currently setting up the Convex Workos Authkit component. I have already set up preview deployments on Vercel with a Shared WorkOS environment (using default environment variables for Convex preview deployments).

However, the component docs doesn't provide a guide on how to set up the Webhook URL for preview deployments. When using the Convex-managed WorkOS environment, Convex automatically configures the Redirect URIs and CORS origins, it would be awesome that Convex also configures the `WORKOS_WEBHOOK_SECRET` as part of the automatic configuration. I checked the WorkOS API reference and there's actually a endpoint to [manage Webooks](https://workos.com/docs/reference/webhooks) so this might be feasible.

Or, Is there a way to set up the component to automatically set up Webook URLs to point to the Convex URL Webhook endpoint that I'm not aware of?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.