> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiveth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Verified domains

> Prove your organization owns its email domain with a DNS record, then decide how people with that domain may join.

A verified domain proves your organization owns an email domain such as `example.com`. Once verified, Aiveth by Gooclaim can:

* let people with an address at that domain join your organization, by invitation, automatically or by asking,
* show your organization to them when they sign in by email (discovery sign-in),
* limit [single sign-on](https://docs.aiveth.com/sign-in/single-sign-on.md) and [Single sign-on required](https://docs.aiveth.com/sign-in/single-sign-on.md#require-sso) to that domain.

> [!NOTE]
>
> Available on the Pro plan and above.

## Verify a domain

You need the `security:manage` permission.

**1. Add the domain**

In the console, go to **Security** → **Domains** and choose **Add domain**. Enter the domain and choose **Add domain**.

**2. Publish the TXT record**

Aiveth shows a TXT record. Add it at your DNS provider:

| Type | Name | Value |
| - | - | - |
| `TXT` | `_aiveth-verification.example.com` | The value the console shows |

**3. Verify**

Choose **Verify**. Aiveth asks three public DNS resolvers directly. If any one of them finds the exact value, the domain is verified. If none finds it yet, wait for DNS to update and try again.

You can keep the record in place. Aiveth checks it every day.

### Who gets the domain

* Any number of organizations can **claim** the same domain, each with its own value. A claim blocks nobody.
* The **first organization to publish its record** gets the domain. Other organizations' claims to it are dropped.
* A domain verified by another organization cannot be added, and Aiveth does not say who holds it.
* Your organization can have up to **20** domains, counting verified, pending and lost ones.

## The daily check

Aiveth checks every verified domain each day, in DNS and in the domain registry (RDAP).

* **Lost.** If the record is gone (confirmed over several checks) or the domain was registered again by someone new, the domain is lost. It goes back to being your claim with the same value, and whoever proves it next gets it. The list shows **Lost on** and the date.
* **Paused.** If the domain is being transferred, is near expiry or the registry stops answering, joining by that domain is paused. Choose **Verify again** to take a fresh look once things are settled.
* Pressing **Verify** never takes a verification away. Only the daily check does, and only on a definite answer.

## Join modes

Each verified domain has a join mode. It starts as **Invitation only**.

| Mode | What happens |
| - | - |
| **Invitation only** | People join only when an admin invites them. |
| **Invite automatically** | Someone who proves an address at this domain can join at once with your default role. If your default role can manage people, roles, apps or security, they get Member instead. Nobody approves. |
| **Suggest joining** | Someone with an address at this domain can ask to join. An admin approves, and they join with your default role, never Owner. |

The automatic modes need an answer from the domain registry. A domain whose registry does not support RDAP stays on **Invitation only**, and the console says why.

Someone can join by domain only when all of these are true:

* They have just proven their address with an emailed code.
* The domain is verified, not paused, and the registry answered in the last 3 days.
* They have no account and no open invitation in your organization.
* At least one active member of your organization has proven an address at that domain since it was verified.

## Ask to join

With **Suggest joining**, requests appear on the **People** page. Choose **Approve** or **Deny**. Approving sends the person an invitation email. Denying sends nothing.

## Discovery sign-in

Discovery sign-in lets people start with only their email address:

1. They enter their email on the sign-in card.
2. Aiveth sends an 8-digit code. The code lasts 10 minutes and has 5 tries.
3. The code gives a 10-minute pass and a list of organizations the address belongs to, is invited to, or may join by a verified domain.
4. They pick one and continue with **that organization's own sign-in**: its password, two-step and network rules apply as usual.

Some details:

* A code is emailed only when there is an organization to show. A stranger's mailbox is never written to.
* When started from one of your apps, the list shows only your organization.
* The emailed code never stands in for a password, except in an organization that turned **Email code** on under [Sign-in methods](https://docs.aiveth.com/sign-in/methods.md). Even then, two-step and network rules still apply.
* Code sends and checks are rate limited per address and per network. After many wrong codes in a row, discovery stops for that address for a day.

## Related

* [Sign-up](https://docs.aiveth.com/sign-in/sign-up.md)
* [Single sign-on](https://docs.aiveth.com/sign-in/single-sign-on.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.