# directory_source_oauth_domain_unverified

<!-- Generated by scripts/generate.ts. Do not edit. -->

<!-- Source: core commit `f70874a3916ad5b24a8619246cbae6cc8bc24d27`. -->

<div data-pagefind-ignore>

Since API version `1.1`.

| Field     | Value           |
| --------- | --------------- |
| Type      | `permission`    |
| Status    | 403             |
| Surfaces  | `api`, `portal` |
| Retryable | No              |

</div>

## What it means

A Connect Google grant is accepted only when the Google Workspace domain of the approving admin is a verified domain of the directory's organization. Otherwise any Workspace admin could attach their company's people to your customer's directory. Nothing is stored.

## Likely causes

- The organization has not verified its Workspace domain yet.
- The admin approved with an account of another Workspace, for example a personal or test tenant.

## How to fix it

### For developers

- Have the organization verify its domain first (`POST /v1/organizations/{org}/domains` and the DNS check, or the setup portal's domain step), then start a new connect.

### For IT administrators

- Verify your company's domain in the setup portal, then connect Google again with an admin of that domain.

## Example

OhAuthCat redirects to the app's `return_url` with the error:

```text
https://app.example.com/setup?ohauthcat_oauth=error&error_code=directory_source_oauth_domain_unverified&directory_id=dir_01J9Z3K5V7W8X9Y0Z1A2B3C4D5
```

## Developer message

The Google Workspace domain that approved the connection is not a verified domain of the directory's organization; verify the domain first, or connect with an admin of a verified domain

## IT administrator message

Your Google Workspace domain isn't verified for this organization yet. Verify it, then connect again

## Translated IT administrator messages

The hosted portal shows these machine translations, which native speakers have not reviewed yet. Placeholders and identity provider console labels stay in English.

- `de`: <span lang="de" data-pagefind-ignore>Ihre Google-Workspace-Domain ist für diese Organisation noch nicht verifiziert. Verifizieren Sie sie und verbinden Sie sich dann erneut</span>
- `es`: <span lang="es" data-pagefind-ignore>Su dominio de Google Workspace aún no está verificado para esta organización. Verifíquelo y vuelva a conectarse</span>
- `fr`: <span lang="fr" data-pagefind-ignore>Votre domaine Google Workspace n'est pas encore vérifié pour cette organisation. Vérifiez-le, puis reconnectez-vous</span>
- `ja`: <span lang="ja" data-pagefind-ignore>お使いの Google Workspace ドメインはこの組織でまだ確認されていません。確認してから、もう一度接続してください</span>
- `pt-BR`: <span lang="pt-BR" data-pagefind-ignore>Seu domínio do Google Workspace ainda não foi verificado para esta organização. Verifique-o e conecte novamente</span>

Security invariants: 88.
