Skip to content

Commit 09a855b

Browse files
Merge pull request #5703 from wso2/fixing-product-is-issue-26241-1762945462
Fix: Correct inaccurate Email as Username prerequisite for all affected versions (Product IS issue #26241)
2 parents 4463bfc + e88e791 commit 09a855b

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

en/includes/guides/organization-management/organization-discovery/email-domain-based-organization-discovery.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,22 @@ In this example scenario:
2121
- User Alice with email `[email protected]` should go to the login screen of `Best Car Mart` organization.
2222
- User Bob and Ben, with emails `[email protected]` and `[email protected]` should go to the login screen of `Glory Car Mart` organization.
2323

24+
## Prerequisites
25+
26+
Before you configure email domain-based organization discovery, understand the following requirements:
27+
28+
### Username requirements during user creation
29+
30+
For any user to be discoverable by their email domain, the following requirements must be met during user creation:
31+
32+
- The user's **username** must be in a valid email format (for example, `[email protected]`).
33+
- The domain portion of this username (for example, `company-domain.com`) must match one of the domains configured for organization discovery.
34+
- This is a strict requirement during user creation. Attempting to create a user with a non-email username or a username with a non-matching domain for an organization with this feature enabled will fail.
35+
2436
## Enable email domain based organization discovery
2537

2638
!!! note "Important"
2739
- The root organization only permits enabling this feature and mapping email domains to organizations.
28-
{% if product_name == "WSO2 Identity Server" %}
29-
- For this feature to work, make sure to [enable email address as the username]({{base_path}}/guides/users/attributes/enable-email-as-username/) so that users may log in to applications with their email addresses.
30-
{% endif %}
3140
- **For Just-In-Time (JIT) provisioning**: Set the Subject Attribute to `http://wso2.org/claims/emailaddress` in your external identity provider. See [Map email domains to organizations](#map-email-domains-to-organizations) below.
3241

3342
=== "Using the Console"

0 commit comments

Comments
 (0)