mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-23 05:18:46 +00:00
chore: consistent naming for organization domain (#11356)
# Which Problems Are Solved As part of the consistent naming effort, this PR focuses on "Organization domain". # How the Problems Are Solved - All terms referring referring to Organization Domains where changed to be Organization Domain # Additional Changes None # Additional Context - closes [#11283](https://github.com/zitadel/zitadel/issues/11283) --------- Co-authored-by: Copilot <[email protected]>
This commit is contained in:
@@ -140,7 +140,7 @@ The Login Policy defines how the login process should look like and which authen
|
||||
| Register allowed | Enable self register possibility in the login ui, this enables username password registration as well as registration with configured external identity providers |
|
||||
| External IDP allowed | Possibility to login with an external identity (e.g Google, Microsoft, Apple, etc), If you like to allow external Identity providers add them to the providers list |
|
||||
| Hide password reset | Disable the self-service option for users to reset their password. |
|
||||
| Domain discovery allowed | If this setting is enabled, the user doesn't have to exist when entering the username. It is required to have verified domains on the organization. Example: ZITADEL is registered as organization with the domain zitadel.com and Entra ID as identity provider. A user enters [email protected] in the login but the user doesn't exist. The domain can be mapped to the organization and therefore the user can be redirected to the Entra ID. |
|
||||
| Domain discovery allowed | If this setting is enabled, the user doesn't have to exist when entering the username. It is required to have an Organization Domain on the organization. Example: ZITADEL is registered as organization with the domain zitadel.com and Entra ID as identity provider. A user enters [email protected] in the login but the user doesn't exist. The domain can be mapped to the organization and therefore the user can be redirected to the Entra ID. |
|
||||
| Ignore unknown usernames | This setting can be enabled, if no error message should be shown if the user doesn't exist. Example: A user enters the login name [email protected], the user doesn't exist, but will be redirected to the password screen. After entering a password, the user will get an error that either username or password are wrong. |
|
||||
| Disable login with email address | By default users can additionally [login with the email attribute](/guides/solution-scenarios/configurations#use-an-email-address-as-username) of their user. Check this option to disable. |
|
||||
| Disable login with phone number | By default users can additionally [login with the phonenumber attribute](/guides/solution-scenarios/configurations#use-a-phone-number-as-username) of their user. Check this option to disable. |
|
||||
@@ -264,11 +264,11 @@ If an account is locked, the administrator has to unlock it in the ZITADEL Manag
|
||||
|
||||
## Domain settings
|
||||
|
||||
### Add organization domain as suffix to loginnames
|
||||
### Add Organization Domain as suffix to loginnames
|
||||
|
||||
If you enable this setting, all loginnames will be suffixed with the organization domain. If this setting is disabled, you have to ensure that usernames are unique over all organizations.
|
||||
If you enable this setting, all loginnames will be suffixed with the Organization Domain. If this setting is disabled, you have to ensure that usernames are unique over all organizations.
|
||||
|
||||
### Validate Org domains
|
||||
### Validate Organization Domains
|
||||
|
||||
If this is enabled all created domains on an organization must be verified per dns/acme challenge.
|
||||
|
||||
|
||||
@@ -88,26 +88,26 @@ You can verify your own domain names (e.g., `acme.ch`) to simplify the user expe
|
||||
Only one user with the username `john.doe` can exist within the organization `ACME`, regardless of which domain suffix they use to log in.
|
||||
</Callout>
|
||||
|
||||
### Primary Domain
|
||||
An organization can have multiple domain names, but only one is **Primary**. The primary domain determines:
|
||||
### Organization Domain
|
||||
An organization can have multiple domain names, but only one is configured as the **Organization Domain**. The Organization Domain determines:
|
||||
* Which login name is displayed to the user in the UI.
|
||||
* What information is asserted in `access_tokens` (specifically the `preferred_username` claim).
|
||||
|
||||
<Callout type="caution">
|
||||
Setting a Primary Domain affects users.
|
||||
Setting an Organization Domain affects users.
|
||||
If a user `coyote` exists in the global organization with the login name `[email protected]`, and you subsequently verify `acme.ch` for a specific organization, the global user's login name will be replaced with `coyote@{randomvalue.tld}`. ZITADEL will notify users affected by this change.
|
||||
</Callout>
|
||||
|
||||
## Domain Verification Guide
|
||||
|
||||
If the **validate org domains** setting in [Domain Settings](./default-settings#domain-settings) is set to `true`, you must prove ownership of your domain via DNS or HTTP challenge.
|
||||
If the **validate Organization Domains** setting in [Domain Settings](./default-settings#domain-settings) is set to `true`, you must prove ownership of your domain via DNS or HTTP challenge.
|
||||
|
||||
<Callout type="info">
|
||||
You can disable domain verification requirements in the [default settings](/guides/manage/console/default-settings#domain-settings) if you are running a self-hosted instance and do not require strict validation.
|
||||
</Callout>
|
||||
|
||||
1. Navigate to your **Organization Settings**.
|
||||
2. Select the menu entry **Verified domains**.
|
||||
2. Select the menu entry **Organization Domains**.
|
||||
3. Click on the domain name you wish to verify. A dialog will appear offering DNS or HTTP challenge methods.
|
||||
|
||||
<img
|
||||
|
||||
@@ -107,7 +107,7 @@ If you have different designs for your organizations (Private Labeling), you can
|
||||
| **Enforce project's policy** | This forces the branding of the organization that *owns* the project throughout the entire login process. Useful if you want your users to always see *your* brand, even if they belong to a partner org. |
|
||||
| **Allow login user policy** | The login starts with the project's branding. However, as soon as the user is identified (e.g., by entering their email), the branding switches to match the user's organization. |
|
||||
|
||||
In a B2B use case, you would typically use **Allow login user policy**. If you want to skip the detection step, you can preselect an organization using the [primary domain scope](/apis/openidoauth/scopes#reserved-scopes) (e.g., `urn:zitadel:iam:org:domain:primary:{domainname}`).
|
||||
In a B2B use case, you would typically use **Allow login user policy**. If you want to skip the detection step, you can preselect an organization using the [Organization Domain scope](/apis/openidoauth/scopes#reserved-scopes) (e.g., `urn:zitadel:iam:org:domain:primary:{domainname}`).
|
||||
|
||||
### Role Settings
|
||||
You can configure strict security checks regarding roles during authentication.
|
||||
|
||||
@@ -47,7 +47,7 @@ A user with an administrator role is not just an end-user of your application bu
|
||||
|
||||
### Uniqueness of Users
|
||||
* **Scope:** Users exist strictly within **one** [Organization](./organizations-overview). It is currently not possible to move users between organizations.
|
||||
* **Identifier:** User accounts are uniquely identified by their `id` or their `loginname` combined with the `organization domain` (e.g., `[email protected]`).
|
||||
* **Identifier:** User accounts are uniquely identified by their `id` or their `loginname` combined with the `Organization Domain` (e.g., `[email protected]`).
|
||||
* **Emails:** You can reuse the same email address for different user accounts across organizations.
|
||||
|
||||
### Structuring User Pools
|
||||
|
||||
Reference in New Issue
Block a user