The Identity Providers API provides operations to manage federations with external Identity Providers (IdP). For example, your app can support signing in with credentials from Apple, Facebook, Google, LinkedIn, Microsoft, an enterprise IdP using SAML 2.0, or an IdP using the OpenID Connect (OIDC
) protocol.
okta.idps.read
Lists all identity provider integrations with pagination. A subset of IdPs can be returned that match a supported filter expression or query.
q | string Searches the Example: q=Example SAML |
after | string The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the |
limit | integer [ 1 .. 200 ] Default: 20 A limit on the number of objects to return |
type | string (IdentityProviderType) Filters IdPs by |
Success
Forbidden
Too Many Requests
[- {
- "id": "0oa62b57p7c8PaGpU0h7",
- "type": "FACEBOOK",
- "name": "Facebook",
- "status": "ACTIVE",
- "created": "2016-03-24T23:18:27.000Z",
- "lastUpdated": "2016-03-24T23:18:27.000Z",
- "protocol": {
- "type": "OAUTH2",
- "endpoints": {
}, - "scopes": [
- "public_profile",
- "email"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.userPrincipalName"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oa62bc8wppPw0UGr0h7",
- "type": "SAML2",
- "name": "Example SAML IdP",
- "status": "ACTIVE",
- "created": "2016-03-24T23:14:54.000Z",
- "lastUpdated": "2016-03-24T23:14:54.000Z",
- "protocol": {
- "type": "SAML2",
- "endpoints": {
- "sso": {
- "binding": "HTTP-POST",
}, - "acs": {
- "binding": "HTTP-POST",
- "type": "INSTANCE"
}
}, - "algorithms": {
- "request": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "REQUEST"
}
}, - "response": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "ANY"
}
}
}, - "settings": {
- "nameFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
}, - "credentials": {
- "trust": {
- "kid": "your-key-id"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "saml.subjectNameId"
}, - "filter": "(\\S+@example\\.com)",
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "metadata": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "GET"
]
}
}, - "acs": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "POST"
]
}
}, - "users": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oa62bfdiumsUndnZ0h7",
- "type": "GOOGLE",
- "name": "Google",
- "status": "ACTIVE",
- "created": "2016-03-24T23:21:49.000Z",
- "lastUpdated": "2016-03-24T23:21:49.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "scopes": [
- "profile",
- "email",
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.userPrincipalName"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oa62bfdjnK55Z5x80h7",
- "type": "LINKEDIN",
- "name": "LinkedIn",
- "status": "ACTIVE",
- "created": "2016-03-24T23:23:59.000Z",
- "lastUpdated": "2016-03-24T23:23:59.000Z",
- "protocol": {
- "type": "OAUTH2",
- "endpoints": {
- "authorization": {
- "binding": "HTTP-REDIRECT"
},
}, - "scopes": [
- "r_basicprofile",
- "r_emailaddress"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.userPrincipalName"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oajmvdFawBih4gey0g3",
- "type": "MICROSOFT",
- "name": "Microsoft",
- "status": "ACTIVE",
- "created": "2016-03-29T16:47:36.000Z",
- "lastUpdated": "2016-03-29T16:47:36.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
- "authorization": {
- "binding": "HTTP-REDIRECT"
}, - "token": {
- "binding": "HTTP-POST"
}
}, - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.userPrincipalName"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oaulob4BFVa4zQvt0g3",
- "type": "OIDC",
- "name": "Example OpenID Connect IdP",
- "status": "ACTIVE",
- "created": "2019-02-07T20:07:47.000Z",
- "lastUpdated": "2019-02-07T20:07:47.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "scopes": [
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": false,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.email"
}, - "filter": null,
- "matchType": "USERNAME",
- "matchAttribute": null
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}, - {
- "id": "0oa6jxasyhwM2ZHJh0g4",
- "type": "X509",
- "name": "Smart Card IDP Name",
- "status": "ACTIVE",
- "created": "2020-01-07T00:19:27.000Z",
- "lastUpdated": "2020-01-07T00:19:27.000Z",
- "properties": {
- "additionalAmr": [
- "sc",
- "hwk",
- "pin",
- "mfa"
]
}, - "protocol": {
- "type": "MTLS",
- "credentials": {
- "trust": {
- "issuer": "CN=Test Smart Card, OU=Test OU, O=Test O, C=US",
- "audience": null,
- "kid": "45dec5ff-8cdc-48c0-85fe-a4869f1753dc",
- "revocation": "CRL",
- "revocationCacheLifetime": 2880
}
}
}, - "policy": {
- "provisioning": {
- "action": "DISABLED",
- "profileMaster": false,
- "groups": null
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.subjectAltNameEmail"
}, - "filter": null,
- "matchType": "EMAIL",
- "matchAttribute": null
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "deactivate": {
- "hints": {
- "allow": [
- "POST"
]
}
}, - "users": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "keys": {
- "hints": {
- "allow": [
- "GET"
]
}
}
}
}
]
okta.idps.manage
Creates a new Identity Provider integration.
You must first add the IdP's signature certificate to the IdP key store before you can add a SAML 2.0 IdP with a kid
credential reference.
Don't use fromURI
to automatically redirect a user to a particular app after successfully authenticating with a third-party IdP. Instead, use SAML deep links. Using fromURI
isn't tested or supported. For more information about using deep links when signing users in using an SP-initiated flow, see Understanding SP-Initiated Login flow.
Use SAML deep links to automatically redirect the user to an app after successfully authenticating with a third-party IdP. To use deep links, assemble these three parts into a URL:
https://${yourOktaDomain}/sso/saml2/:idpId
/app/:app-location/:appId/sso/saml
relayState
passed to it.?RelayState=:anyUrlEncodedValue
The deep link for the above three parts is:
https://${yourOktaDomain}/sso/saml2/:idpId/app/:app-location/:appId/sso/saml?RelayState=:anyUrlEncodedValue
You must first add the IdP's server certificate to the IdP key store before you can add a Smart Card X509
IdP with a kid
credential reference.
You need to upload the whole trust chain as a single key using the Key Store API.
Depending on the information stored in the smart card, select the proper template idpuser.subjectAltNameEmail
or idpuser.subjectAltNameUpn
.
IdP settings
issuerMode | string (IdentityProviderIssuerMode) Default: "DYNAMIC" Indicates whether Okta uses the original Okta org domain URL or a custom domain URL in the request to the social IdP
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name | string <= 100 characters Unique name for the IdP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (IdentityProviderPolicy) Policy settings for the IdP. The following provisioning and account linking actions are supported by each IdP provider:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null (IdentityProviderProperties) The properties in the Identity Provider Properties object vary depending on the IdP type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SAML 2.0 Protocol (object) or OAuth 2.0 Protocol (object) or OpenID Connect Protocol (object) or Mutual TLS Protocol (object) IdP-specific protocol settings for endpoints, bindings, and algorithms used to connect with the IdP and validate messages | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of: Protocol settings for the SAML 2.0 Authentication Request Protocol
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string (LifecycleStatus) Enum: "ACTIVE" "INACTIVE" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | string (IdentityProviderType) The Identity Provider object's
|
Success
Bad Request
Forbidden
Too Many Requests
{- "type": "OIDC",
- "name": "Example OpenID Connect IdP",
- "protocol": {
- "algorithms": {
- "request": {
- "signature": {
- "algorithm": "HS256",
- "scope": "REQUEST"
}
}
}, - "endpoints": {
- "acs": {
- "binding": "HTTP-POST",
- "type": "INSTANCE"
},
}, - "scopes": [
- "openid",
- "profile",
- "email"
], - "type": "OIDC",
- "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret",
- "pkce_required": "true"
}
},
}, - "policy": {
- "accountLink": {
- "action": "AUTO",
- "filter": null
}, - "provisioning": {
- "action": "AUTO",
- "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}, - "groups": {
- "action": "NONE"
}
}, - "mapAMRClaims": false,
- "maxClockSkew": 120000,
- "subject": {
- "userNameTemplate": {
- "template": "idpuser.email"
}, - "matchType": "USERNAME"
}
}
}
{- "id": "0oaulob4BFVa4zQvt0g3",
- "type": "OIDC",
- "name": "Example OpenID Connect IdP",
- "status": "ACTIVE",
- "created": "2019-02-07T20:07:47.000Z",
- "lastUpdated": "2019-02-07T20:07:47.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "algorithms": {
- "request": {
- "signature": {
- "algorithm": "HS256",
- "scope": "REQUEST"
}
}
}, - "scopes": [
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret",
- "pkce_required": "true"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": false,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.email"
}, - "filter": null,
- "matchType": "USERNAME",
- "matchAttribute": null
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
okta.idps.read
Retrieves an identity provider integration by idpId
Success
Forbidden
Not Found
Too Many Requests
{- "id": "0oaulob4BFVa4zQvt0g3",
- "type": "OIDC",
- "name": "Example OpenID Connect IdP",
- "status": "ACTIVE",
- "created": "2019-02-07T20:07:47.000Z",
- "lastUpdated": "2019-02-07T20:07:47.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "algorithms": {
- "request": {
- "signature": {
- "algorithm": "HS256",
- "scope": "REQUEST"
}
}
}, - "scopes": [
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret",
- "pkce_required": "true"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": false,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.email"
}, - "filter": null,
- "matchType": "USERNAME",
- "matchAttribute": null
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
okta.idps.manage
Replaces an identity provider integration by idpId
Updated configuration for the IdP
issuerMode | string (IdentityProviderIssuerMode) Default: "DYNAMIC" Indicates whether Okta uses the original Okta org domain URL or a custom domain URL in the request to the social IdP
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
name | string <= 100 characters Unique name for the IdP | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object (IdentityProviderPolicy) Policy settings for the IdP. The following provisioning and account linking actions are supported by each IdP provider:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
object or null (IdentityProviderProperties) The properties in the Identity Provider Properties object vary depending on the IdP type | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SAML 2.0 Protocol (object) or OAuth 2.0 Protocol (object) or OpenID Connect Protocol (object) or Mutual TLS Protocol (object) IdP-specific protocol settings for endpoints, bindings, and algorithms used to connect with the IdP and validate messages | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
One of: Protocol settings for the SAML 2.0 Authentication Request Protocol
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
status | string (LifecycleStatus) Enum: "ACTIVE" "INACTIVE" | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
type | string (IdentityProviderType) The Identity Provider object's
|
Success
Bad Request
Forbidden
Not Found
Too Many Requests
{- "id": "0oa62bc8wppPw0UGr0h7",
- "type": "SAML2",
- "name": "Example SAML IdP",
- "status": "INACTIVE",
- "created": null,
- "lastUpdated": "2016-03-29T21:23:45.000Z",
- "protocol": {
- "type": "SAML2",
- "endpoints": {
- "sso": {
- "binding": "HTTP-REDIRECT",
}, - "acs": {
- "binding": "HTTP-POST",
- "type": "INSTANCE"
}
}, - "algorithms": {
- "request": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "REQUEST"
}
}, - "response": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "ANY"
}
}
}, - "settings": {
- "nameFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
}, - "credentials": {
- "trust": {
- "kid": "your-key-id"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.subjectNameId"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 120000
}, - "_links": {
- "metadata": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "GET"
]
}
}, - "acs": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "POST"
]
}
}, - "users": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "activate": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
{- "id": "0oa62bc8wppPw0UGr0h7",
- "type": "SAML2",
- "name": "Example SAML IdP",
- "status": "INACTIVE",
- "created": null,
- "lastUpdated": "2016-03-29T21:23:45.000Z",
- "protocol": {
- "type": "SAML2",
- "endpoints": {
- "sso": {
- "binding": "HTTP-REDIRECT",
}, - "acs": {
- "binding": "HTTP-POST",
- "type": "INSTANCE"
}
}, - "algorithms": {
- "request": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "REQUEST"
}
}, - "response": {
- "signature": {
- "algorithm": "SHA-256",
- "scope": "ANY"
}
}
}, - "settings": {
- "nameFormat": "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified"
}, - "credentials": {
- "trust": {
- "kid": "your-key-id"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.subjectNameId"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 120000
}, - "_links": {
- "metadata": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "GET"
]
}
}, - "acs": {
- "type": "application/xml",
- "hints": {
- "allow": [
- "POST"
]
}
}, - "users": {
- "hints": {
- "allow": [
- "GET"
]
}
}, - "activate": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
okta.idps.manage
Deletes an identity provider integration by idpId
FEDERATION
or SOCIAL
.No Content
Forbidden
Not Found
Too Many Requests
{- "errorCode": "E0000006",
- "errorSummary": "You do not have permission to perform the requested action",
- "errorLink": "E0000006",
- "errorId": "sampleNUSD_8fdkFd8fs8SDBK",
- "errorCauses": [ ]
}
okta.idps.manage
Activates an inactive IdP
Success
Forbidden
Not Found
Too Many Requests
{- "id": "0oa62bfdiumsUndnZ0h7",
- "type": "GOOGLE",
- "name": "Google",
- "status": "ACTIVE",
- "created": "2016-03-24T23:21:49.000Z",
- "lastUpdated": "2016-03-25T19:14:23.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "scopes": [
- "profile",
- "email",
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.email"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "href": "https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oa62bfdiumsUndnZ0h7&\n client_id={clientId}&response_type={responseType}&response_mode={responseMode}&\n scope={scopes}&redirect_uri={redirectUri}&state={state}",
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}
okta.idps.manage
Deactivates an active IdP
Success
Forbidden
Not Found
Too Many Requests
{- "id": "0oa62bfdiumsUndnZ0h7",
- "type": "GOOGLE",
- "name": "Google",
- "status": "INACTIVE",
- "created": "2016-03-24T23:21:49.000Z",
- "lastUpdated": "2016-03-25T19:16:53.000Z",
- "protocol": {
- "type": "OIDC",
- "endpoints": {
}, - "scopes": [
- "profile",
- "email",
- "openid"
], - "credentials": {
- "client": {
- "client_id": "your-client-id",
- "client_secret": "your-client-secret"
}
}
}, - "policy": {
- "provisioning": {
- "action": "AUTO",
- "profileMaster": true,
- "groups": {
- "action": "NONE"
}, - "conditions": {
- "deprovisioned": {
- "action": "NONE"
}, - "suspended": {
- "action": "NONE"
}
}
}, - "accountLink": {
- "filter": null,
- "action": "AUTO"
}, - "subject": {
- "userNameTemplate": {
- "template": "idpuser.userPrincipalName"
}, - "filter": null,
- "matchType": "USERNAME"
}, - "mapAMRClaims": false,
- "maxClockSkew": 0
}, - "_links": {
- "authorize": {
- "href": "https://{yourOktaDomain}/oauth2/v1/authorize?idp=0oa62bfdiumsUndnZ0h7&\n client_id={clientId}&response_type={responseType}&response_mode={responseMode}&\n scope={scopes}&redirect_uri={redirectUri}&state={state}",
- "templated": true,
- "hints": {
- "allow": [
- "GET"
]
}
}, - "clientRedirectUri": {
- "hints": {
- "allow": [
- "POST"
]
}
}
}
}