Skip to content

Commit

Permalink
Address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasasr1 committed Dec 10, 2024
1 parent 5e9d7df commit 8d1e3e2
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 16 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -197,22 +197,24 @@ components:
properties:
type: array
items:
type: object
required:
- key
- value
properties:
key:
type: string
example: emailDomain.enable
value:
type: string
example: true
$ref: '#/components/schemas/Properties'
example:
- key: emailDomain.enable
value: true
- key: emailDomainBasedSelfSignup.enable
value: false
- key: emailDomain.enable
value: true
- key: emailDomainBasedSelfSignup.enable
value: false
Properties:
required:
- key
- value
type: object
properties:
key:
type: string
example: emailDomain.enable
value:
type: string
example: true
responses:
BadRequest:
description: Invalid input in the request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,22 @@ and user Bob and Ben, with emails `[email protected]` and `[email protected]` should be
1. Login to the organization (root) from the {{ product_name }} Console.
2. On the {{ product_name }} Console, go to **Login & Registration**, and click **Organization Discovery** under **Organization Settings**.
3. Turn on the toggle to enable email domain based organization discovery.
4. Select the **Email domain discovery for self-registration** checkbox if you want to allow users to discover and self-register in sub-organizations based on their email domain.

!!! note
When this is enabled, following restrctions will apply to child organizations during federated authentication and user onboarding.

- Users can self-register, and administrators can onboard users to child organizations, only if the users' email domains match the domains mapped to the corresponding child organization.

{% if (product_name == "WSO2 Identity Server") %}

- If the Identity Provider (IDP) includes a mapped email attribute, federated authentication and Just-In-Time (JIT) provisioning for child organizations are restricted to email domains mapped to those child organizations.

{% endif %}
{% if (product_name == "WSO2 Identity Server") %}

4. Select the **Email domain discovery for self-registration** checkbox if you want to allow users to discover and self-register in child organizations based on their email domain.

{% endif %}

![Enable email domain based organization discovery]({{base_path}}/assets/img/guides/organization/manage-organizations/enable-email-domain-based-organization-discovery.png){: width="700" style="display: block; margin: 0; border: 0.3px solid lightgrey;"}

Expand Down

0 comments on commit 8d1e3e2

Please sign in to comment.