Skip to content

v2.4.16

Choose a tag to compare

@AashishMehtoliya01 AashishMehtoliya01 released this 14 Jan 08:34
· 111 commits to main since this release
0890f8e

What's Changed

New Contributors

Domain API Changes - Release Notes

Enhanced Domain Management

Domain Type Support

  • Added support for domain types to distinguish between different domain configurations:
    • ALLOWED_EMAIL_DOMAIN: Trusted domains used to suggest organizations in the organization switcher during sign-in/sign-up
    • ORGANIZATION_DOMAIN: SSO discovery domains used to route users to the correct SSO provider and enforce SSO
    • UNSPECIFIED: Default type for backward compatibility

API Enhancements

create_domain()

  • Added optional domain_type parameter (accepts string or DomainType enum)
  • When not specified, defaults to ORGANIZATION_DOMAIN for backward compatibility
  • Supports flexible input: strings like "ALLOWED_EMAIL_DOMAIN" or enum values

list_domains()

  • Added optional domain_type parameter for filtering domains by type
  • When not specified, returns all domains regardless of type
  • Enables targeted queries for specific domain configurations

Full Changelog: v2.4.14...2.4.16