Skip to content

Commit bb1c824

Browse files
authored
Discard changes to src/content/docs/cloudflare-one/identity/idp-integration/entra-id.mdx
1 parent 6d4465f commit bb1c824

File tree

1 file changed

+28
-29
lines changed
  • src/content/docs/cloudflare-one/identity/idp-integration

1 file changed

+28
-29
lines changed

src/content/docs/cloudflare-one/identity/idp-integration/entra-id.mdx

Lines changed: 28 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -118,41 +118,40 @@ To [test](/cloudflare-one/identity/idp-integration/#test-idps-in-zero-trust) tha
118118

119119
</TabItem> <TabItem label="API">
120120

121-
1. [Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
122-
| Type | Item | Permission |
123-
| ------- | ---------------- | ---------- |
124-
| Account | Access: Organizations, Identity Providers, and Groups | Edit |
125-
126-
2. Make a `POST` request to the [Identity Providers](/api/resources/zero_trust/subresources/identity_providers/methods/create/) endpoint:
127-
128-
```sh
129-
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/identity_providers \
130-
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
131-
--data '{
132-
"name": "Entra ID example",
133-
"type": "azureAD",
134-
"config": {
135-
"client_id": "<your client id>",
136-
"client_secret": "<your client secret>",
137-
"directory_id": "<your azure directory uuid>",
138-
"support_groups": true
139-
}
140-
}'
141-
```
121+
1. [Create an API token](/fundamentals/api/get-started/create-token/) with the following permissions:
122+
| Type | Item | Permission |
123+
| ------- | ---------------- | ---------- |
124+
| Account | Access: Organizations, Identity Providers, and Groups | Edit |
125+
126+
2. Make a `POST` request to the [Identity Providers](/api/resources/zero_trust/subresources/identity_providers/methods/create/) endpoint:
127+
128+
```sh
129+
curl https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/identity_providers \
130+
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
131+
--data '{
132+
"name": "Entra ID example",
133+
"type": "azureAD",
134+
"config": {
135+
"client_id": "<your client id>",
136+
"client_secret": "<your client secret>",
137+
"directory_id": "<your azure directory uuid>",
138+
"support_groups": true
139+
}
140+
}'
141+
```
142142

143143
</TabItem> <TabItem label="Terraform">
144144

145145
:::note[Provider versions]
146146
The following example requires Cloudflare provider version `>=4.40.0`.
147147
:::
148148

149-
1. Add the following permission to your [`cloudflare_api_token`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/api_token):
149+
1. Add the following permission to your [`cloudflare_api_token`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/api_token):
150+
- `Access: Organizations, Identity Providers, and Groups Write`
150151

151-
- `Access: Organizations, Identity Providers, and Groups Write`
152+
2. Configure the [`cloudflare_zero_trust_access_identity_provider`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zero_trust_access_identity_provider) resource:
152153

153-
2. Configure the [`cloudflare_zero_trust_access_identity_provider`](https://registry.terraform.io/providers/cloudflare/cloudflare/latest/docs/resources/zero_trust_access_identity_provider) resource:
154-
155-
<Render file="access/entra-id-terraform" />
154+
<Render file="access/entra-id-terraform" />
156155

157156
</TabItem> </Tabs>
158157

@@ -186,7 +185,7 @@ The Microsoft Entra ID integration allows you to synchronize IdP groups and auto
186185

187186
<Render
188187
file="access/enable-scim-on-dashboard"
189-
params={{ idp: "Entra ID", supportgroups: "Support groups" }}
188+
params={{ idp: "Entra ID", supportgroups: "Support groups"}}
190189
/>
191190

192191
### 2. Configure SCIM in Entra ID
@@ -278,8 +277,8 @@ You can require users to re-enter their credentials into Entra ID whenever they
278277
2. [Update the Entra ID identity provider](/api/resources/zero_trust/subresources/identity_providers/methods/update/) using a `PUT` request. In the request body, include all existing configurations and set the `prompt` parameter to either `login` or `select_account`. For example,
279278
```sh {17}
280279
curl --request PUT \
281-
https://api.cloudflare.com/client/v4/accounts/$ACCOUNT_ID/access/identity_providers/$IDENTITY_PROVIDER_ID \
282-
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
280+
https://api.cloudflare.com/client/v4/accounts/{account_id}/access/identity_providers/{identity_provider_id} \
281+
--header "Authorization: Bearer <API_TOKEN>" \
283282
--header "Content-Type: application/json" \
284283
--data '{
285284
"id": "f174e90a-fafe-4643-bbbc-4a0ed4fc8415",

0 commit comments

Comments
 (0)