Closed nazaries-devops closed 12 months ago
The invite API doesn't include an ability to associate with an organization. See #34.
As for the webhook, you're probably better off just using the Directory Connector or reading the list of users directly from the Admin API and then inviting the ones that are missing, rather than relying on this system to do that and notify you.
Good afternoon I am configuring this connector to allow to invite Active directory users to Vaultwarden, I see that they are invited correctly but they are not associated to the organization that I have created in vaultwarden, it would be of great help to indicate through an environment variable the ID of the organization to be invited to that organization. In case this development would require too much effort on your side, would it be easier to launch a POST call to a url (defined as environment variable "VAULTWARDEN_PRE_ORG_INVITATION_URL") sending the email of the user who was invited to the vaultwarden instance? So, from the url configured in VAULTWARDEN_PRE_ORG_INVITATION_URL it would allow me to configure a small application that would receive the email and invite it to the organization. Thanks