|
2 | 2 | {} |
3 | 3 | --- |
4 | 4 |
|
| 5 | +import {Render, Tabs, TabItem} from "~/components" |
| 6 | + |
| 7 | +<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard"> |
| 8 | + |
5 | 9 | 1. In [Zero Trust](https://one.dash.cloudflare.com), go to **Settings** > **Authentication**. |
6 | 10 |
|
7 | 11 | 2. In the **Login methods** card, select **Add new**. |
8 | 12 |
|
9 | 13 | 3. Select the identity provider you want to add. |
10 | 14 |
|
11 | | - If you do not see your identity provider listed, these providers can typically still be enabled. If they support OIDC or OAuth, select the generic OIDC option. If they support SAML, select the generic SAML option. Cloudflare supports all SAML and OIDC providers and can integrate with the majority of OAuth providers. If your provider supports both SAML and OIDC, we recommend OIDC for ease of configuration. |
| 15 | + <Render file="access/idp-integration-note" product="cloudflare-one" params={{verb: "select" }}/> |
12 | 16 |
|
13 | 17 | 4. Fill in the necessary fields to set up your identity provider. |
14 | 18 |
|
15 | | - Each identity provider will have different required fields for you to fill in. Step-by-step instructions are shown in the dashboard side panel. |
| 19 | + Each identity provider will have different required fields for you to fill in. Step-by-step instructions are shown in the dashboard side panel. Alternatively, refer to the [IdP-specific documentation](/cloudflare-one/identity/idp-integration/). |
16 | 20 |
|
17 | 21 | 5. Once you have filled in the necessary fields, select **Save**. |
| 22 | + |
| 23 | +</TabItem> <TabItem label="Terraform"> |
| 24 | + |
| 25 | +1. Add the following permission to your [`cloudflare_api_token`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/api_token): |
| 26 | + - `Access: Organizations, Identity Providers, and Groups Write` |
| 27 | + |
| 28 | +2. Add an identity provider to Zero Trust using the [`cloudflare_zero_trust_access_identity_provider`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zero_trust_access_identity_provider) resource. For example, to add a Microsoft Entra ID integration: |
| 29 | + |
| 30 | + |
| 31 | + <Render file="access/entra-id-terraform" product="cloudflare-one" /> |
| 32 | + |
| 33 | + Each identity provider integration has different required attributes. You will need to obtain these attribute values from your identity provider. For more information, refer to the [IdP-specific documentation](/cloudflare-one/identity/idp-integration/). |
| 34 | + |
| 35 | + <Render file="access/idp-integration-note" product="cloudflare-one" params={{verb: "use" }} /> |
| 36 | + |
| 37 | +</TabItem> </Tabs> |
0 commit comments