GET IdP Configuration

The Get Specific IdP Configuration API is used to retrieve the specifications for a IdP entry.

Method URI

GET

/cdwebconsole/svc/idp

Table 1. Input Parameters:
Parameter Name Required/Optional Description Valid values

idPName

Optional

Specifies the name of the IdP configuration.

Note: If empty, it will return all IdP configurations.

The following example shows the Command:
curl -X 'GET' \
      'https://172.20.186.67:9447/cdwebconsole/svc/idp' \
      -H 'Authorization: eyJhbGciOiJIUzM4NCJ9.eyJzdWIiOiJjOWY4MThhZS05OWRlLTQxZmEtOWIxMS0zYjcwYWNmY2Q5NzAiLCJleHAiOjE3MzExMjk1NDJ9.q0Esy40DY3nGQj32DDlPUgh--Gqo3Y8iFPGcyYhBCCzcsFxJlmXaJVN_ohAQ4bhV' \
      -H 'Content-Type: application/json' \
      -H 'X-XSRF-TOKEN: d11cfa18-5cae-4b95-9f2e-37fb4673c99a'
The following example shows the Sample Response:
[
  {
    "idPLoginUrl": "https://172.20.186.67:9090/realms/cdws_realm/protocol/saml",
    "serviceProviderId": "https://172.20.186.67:9447/",
    "authenticationReponsePostPath": "https://172.20.186.67:9447/cdwebconsole/svc/idplogin/saml2post",
    "description": null,
    "idPLogoutUrl": "https://172.20.186.67:9090/realms/cdws_realm/protocol/openid-connect/logout",
    "signingKeyCertificate": "ibmconnectdirectwebservices",
    "idPTrustedCertificates": "idp_cert_pem.cer",
    "useSingleSignOn": "true",
    "idPName": "keycloak",
    "assertionConsumerServiceIndex": 1,
    "identityProviderId": "https://172.20.186.67:9090/realms/cdws_realm"
  },
  {
    "idPLoginUrl": "https://172.20.185.164:8443/idp/profile/SAML2/Redirect/SSO",
    "serviceProviderId": "https://172.20.186.67:9447/",
    "authenticationReponsePostPath": "https://172.20.186.67:9447/cdwebconsole/svc/idplogin/saml2post",
    "description": null,
    "idPLogoutUrl": "https://172.20.185.164:8443/idp/profile/logout",
    "signingKeyCertificate": "ibmconnectdirectwebservices",
    "idPTrustedCertificates": "idp-signing-164.crt",
    "useSingleSignOn": "true",
    "idPName": "shibboleth--164",
    "assertionConsumerServiceIndex": 1,
    "identityProviderId": "https://DESKTOP-826266L:8443/idp/shibboleth"
  },
  {
    "idPLoginUrl": "https://172.20.185.20:8443/idp/profile/SAML2/Redirect/SSO",
    "serviceProviderId": "https://172.20.186.67:9447/",
    "authenticationReponsePostPath": "https://172.20.186.67:9447/cdwebconsole/svc/idplogin/saml2post",
    "description": null,
    "idPLogoutUrl": "https://172.20.185.20:8443/idp/profile/logout",
    "signingKeyCertificate": "ibmconnectdirectwebservices",
    "idPTrustedCertificates": "idp-signing_20.crt",
    "useSingleSignOn": "true",
    "idPName": "shibboleth--20",
    "assertionConsumerServiceIndex": 1,
    "identityProviderId": "https://CDW-4868:8443/idp/shibboleth"
  }
]