I'm using WorkOS AuthKit for a multi-tenant B2B app and need to track organization memberships and invitations.
Currently, the component syncs users but not memberships/invitations. I've implemented webhook handlers in my app to sync these (similar to how the component syncs users), but it seems like this could be valuable to include in the component itself since:
- Organizations/memberships are core WorkOS AuthKit concepts
- Most B2B apps using WorkOS will need this to support showing memberships and invitations in app with convex.
- It follows the same pattern as user syncing
Would you be open to a PR that adds organizationMemberships and invitations tables to the component? Or is the recommendation to keep these in the parent app? Happy to provide more context or a draft implementation if helpful.
I'm using WorkOS AuthKit for a multi-tenant B2B app and need to track organization memberships and invitations.
Currently, the component syncs users but not memberships/invitations. I've implemented webhook handlers in my app to sync these (similar to how the component syncs users), but it seems like this could be valuable to include in the component itself since:
Would you be open to a PR that adds organizationMemberships and invitations tables to the component? Or is the recommendation to keep these in the parent app? Happy to provide more context or a draft implementation if helpful.