Domain name for API request: iap.intl.tencentcloudapi.com.
This API is used to query a user OIDC configuration.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeIAPUserOIDCConfig. |
Version | Yes | String | Common Params. The value used for this API: 2024-07-13. |
Region | No | String | Common Params. This parameter is not required. |
Parameter Name | Type | Description |
---|---|---|
ProviderType | Integer | IdP type. 13: IAP user OIDC IdP. |
IdentityUrl | String | IdP URL. |
IdentityKey | String | Public key for signature. |
ClientId | String | Client ID. |
Status | Integer | Status. 0: Not set; 2: Disabled; 11: Enabled. |
Fingerprints | Array of String | The verification fingerprint of the HTTPS CA certificate. English letters and digits are allowed, and each fingerprint is 40 characters long, with a maximum of 5 fingerprints. |
EnableAutoPublicKey | Integer | Whether to enable the automatic use of the OIDC signature public key. 1: Yes, 2: No (default). |
AuthorizationEndpoint | String | Authorization endpoint. |
Scope | Array of String | Authorization scope. |
ResponseType | String | Authorization response type. |
ResponseMode | String | Authorization response mode. |
MappingFiled | String | Mapping field name. |
Description | String | Description |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
This example shows you how to query IAP's OIDC configuration.
POST / HTTP/1.1
Host: iap.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeIAPUserOIDCConfig
<Common request parameters>
{}
{
"Response": {
"AuthorizationEndpoint": "https://accounts.g**gle.com/o/oauth2/v2/auth",
"ClientId": "47***01-pu1e*****7tj.apps.g**gleusercontent.com",
"Description": "222",
"IdentityKey": "ewogICAgImtletVUkttZ0I***GTHVVRUJkdyIKICAgICAgICB9CiAgICBdCn0=",
"IdentityUrl": "https://accounts.g**gle.com",
"MappingFiled": "email",
"ProviderType": 13,
"RequestId": "f87e5dab-426a-4a50-ac5b-1c08151cd6a2",
"ResponseMode": "form_post",
"ResponseType": "id_token",
"Scope": [
"openid",
"email",
"profile"
],
"Status": 2
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
ResourceNotFound.IdentityNotExist | The IdP does not exist. |