Function isFederatedDomain

  • Checks whether an email domain is managed for enterprise SSO on the given Auth0 tenant. Wraps the auth-js primitive to inject spa-js telemetry by default.

    Parameters

    • auth0Domain: string

      Tenant domain, e.g. 'tenant.auth0.com'. A leading 'https://' or 'http://' is stripped automatically.

    • emailDomain: string

      The email domain to check, e.g. 'acme.com'.

    • Optional options: IsFederatedDomainOptions

    Returns Promise<boolean>