Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ curl -v -X POST \

#### Create an OIDC Okta Integration IdP

Use the following request body parameters to define your OIDC Okta Integration IdP in the hub org.
Use the following request body parameters to define your OIDC Okta Integration IdP in the hub org. See also [Create an IdP](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/IdentityProvider/#tag/IdentityProvider/operation/createIdentityProvider).

| Parameter | Description/Value |
| --------- | ------------- |
Expand All @@ -213,26 +213,50 @@ curl -v -X POST \
-H "Content-Type: application/json" \
-H "Authorization: Bearer {yourHubAccessToken}" \
-d '{
"type": "OKTA_INTEGRATION",
"name": "Example API Okta Integration IdP",
"protocol": {
"oktaIdpOrgUrl": "https://{your-spoke-org}.com/",
"type": "SAML2",
"credentials": {
"client": {
"client_id": "EDIT_THIS",
"token_endpoint_auth_method": "private_key_jwt"
"type": "OKTA_INTEGRATION",
"name": "Example API Okta Integration IdP",
"protocol": {
"type": "OIDC",
"credentials": {
"client": {
"token_endpoint_auth_method": "private_key_jwt",
"client_id": "Edit this"
}
},
"signing": {
"algorithm": "RS256"
}
"oktaIdpOrgUrl": "https://{your-spoke-org}.com"
},
"scopes": [
"openid",
"profile",
"email"
]
}
"policy": {
"accountLink": {
"action": "DISABLED",
"filter": null
},
"provisioning": {
"action": "AUTO",
"conditions": {
"userOffboarding": {
"action": "NONE"
},
"deprovisioned": {
"action": "NONE"
},
"suspended": {
"action": "NONE"
}
},
"groups": {
"action": "NONE"
}
},
"maxClockSkew": 120000,
"subject": {
"userNameTemplate": {
"template": "idpuser.email"
},
"matchType": "USERNAME",
"matchAttribute": "",
"filter": ""
}
}
}' "https://{yourHubOktaDomain}/api/v1/idps"
```

Expand Down