0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00
logto/.changeset/smart-laws-compare.md

994 B

@logto/console @logto/phrases @logto/schemas @logto/core @logto/integration-tests
minor minor minor minor patch

feature: just-in-time user provisioning for organizations

This feature allows organizations to provision users when signing up with their email address or being added by Management API. If the user's email domain matches one of the organization's configured domains, the user will be automatically provisioned to the organization.

To enable this feature, you can add email domain via the Management API or the Logto Console:

  • We added the following new endpoints to the Management API:
    • GET /organizations/{organizationId}/email-domains
    • POST /organizations/{organizationId}/email-domains
    • PUT /organizations/{organizationId}/email-domains
    • DELETE /organizations/{organizationId}/email-domains/{emailDomain}
  • In the Logto Console, you can manage email domains in the organization details page -> "Just-in-time provisioning" section.