Adds a fingerprint to an OpenID Connect (OIDC) identity provider (IdP).

Description

This topic provides an example on how to add the fingerprint 902ef2deeb3c5b13ea4c3d5193629309e231**** to the OIDC IdP named TestOIDCProvider.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes AddFingerprintToOIDCProvider

The operation that you want to perform. Set the value to AddFingerprintToOIDCProvider.

OIDCProviderName String Yes TestOIDCProvider

The name of the OIDC IdP.

Fingerprint String Yes 902ef2deeb3c5b13ea4c3d5193629309e231****

The fingerprint of the HTTPS certificate.

The fingerprint can contain letters and digits.

The fingerprint can be up to 40 characters in length.

For more information about common request parameters, see Common parameters.

Response parameters

Parameter Type Example Description
RequestId String 4B809BBC-0E78-544A-A91A-648926412E3E

The ID of the request.

OIDCProvider Object

The name of the OIDC IdP.

GmtModified String 1634626135000

The timestamp when the information about the OIDC IdP was modified.

Description String This is a new OIDC Provider.

The description of the OIDC IdP.

OIDCProviderName String TestOIDCProvider

The name of the OIDC IdP.

GmtCreate String 1634547698000

The timestamp when the OIDC IdP was created.

Arn String acs:ram::177242285274****:oidc-provider/OIDCProvider

The Alibaba Cloud Resource Name (ARN) of the OIDC IdP.

IssuerUrl String https://dev-xxxxxx.okta.com

The URL of the issuer.

Fingerprints String 502ef2deeb3c5b13ea4c3d5193629309e231****,902ef2deeb3c5b13ea4c3d5193629309e231****

The fingerprint of the HTTPS certificate. If multiple fingerprints are returned, the fingerprints are separated by commas (,).

ClientIds String 498469743454717****

The ID of the client. If multiple client IDs are returned, the client IDs are separated by commas (,).

Examples

Sample requests

https://[Endpoint]/?Action=AddFingerprintToOIDCProvider
&OIDCProviderName=TestOIDCProvider
&Fingerprint=902ef2deeb3c5b13ea4c3d5193629309e231****
&Common request parameters

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<AddFingerprintToOIDCProviderResponse>
    <RequestId>4B809BBC-0E78-544A-A91A-648926412E3E</RequestId>
    <OIDCProvider>
        <GmtCreate>1634547698000</GmtCreate>
        <Description>This is a new OIDC Provider.</Description>
        <OIDCProviderName>TestOIDCProvider</OIDCProviderName>
        <IssuerUrl>https://dev-xxxxxx.okta.com</IssuerUrl>
        <Fingerprints>502ef2deeb3c5b13ea4c3d5193629309e231****,902ef2deeb3c5b13ea4c3d5193629309e231****</Fingerprints>
        <GmtModified>1634626135000</GmtModified>
        <Arn>acs:ram::177242285274****:oidc-provider/TestOIDCProvider</Arn>
        <ClientIds>498469743454717****</ClientIds>
    </OIDCProvider>
</AddFingerprintToOIDCProviderResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "RequestId" : "4B809BBC-0E78-544A-A91A-648926412E3E",
  "OIDCProvider" : {
    "GmtCreate" : 1634547698000,
    "Description" : "This is a new OIDC Provider.",
    "OIDCProviderName" : "TestOIDCProvider",
    "IssuerUrl" : "https://dev-xxxxxx.okta.com",
    "Fingerprints" : "502ef2deeb3c5b13ea4c3d5193629309e231****,902ef2deeb3c5b13ea4c3d5193629309e231****",
    "GmtModified" : 1634626135000,
    "Arn" : "acs:ram::177242285274****:oidc-provider/TestOIDCProvider",
    "ClientIds" : "498469743454717****"
  }
}

Error codes

For a list of error codes, visit the API Error Center.