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 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?
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_SECRETas part of the automatic configuration. I checked the WorkOS API reference and there's actually a endpoint to manage Webooks 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?