tencent cloud

Tencent OneID Identity Security

DokumentasiTencent OneID Identity Security

Obtaining JWT Public Key

Unduh
Mode fokus
Ukuran font
Terakhir diperbarui: 2026-08-26 15:36:23
Diterjemahkan oleh AI

API Description

The JWT public key is used to validate ID Tokens and Access Tokens in JWT format.
Note:
The JWT key is automatically generated when a user directory is created, and the keys for different user directories are different.

Supported Application Types

Web applications, single-page applications, mobile apps, and M2M applications.

Request Method

GET

Request path

/oauth2/jwks

Request Example

GET /oauth2/jwks HTTP/1.1
Host: sample.portal.tencentciam.com

Normal Response Example

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

{
"keys" : [ {
"kty" : "RSA",
"e" : "AQAB",
"kid" : "f9694d93-d541-4985-88dc-42229873008e",
"n" : "wYmf-IL7_pXqEjtfHme7KqS06hRQ0BzhTzORjgwnsJD_CPexMHQAd82vZfOQioW9oaMXTiSAtkXslxNIxKVjiYMVzTLHQ9nqCARHOAONiftvcOyMiDGwI_ZV2u2ltHCbQ1w8sMpREMxLiW46TYHANSQwgzg9gLojhzPEUmAS0ksTx3UURmQGLnFBEh6Ydbj8tPNnNxfZHRLtqTD0FwLpPrn3wJvQRxNk_fcrJexM5v96XdQ1SLhhcIAMyqU-_-3IkyWIcS-Z-EvZCiKNJPCfVIEpWdz0oQdGXdADSRU8cV_sl-YmUWSE355PSzK1UmbvNJWLMsO67ZsgZyetcvkaIw"
} ]
}

Response Parameters

Parameter
Data Type
Description
keys
Array
An array containing public keys.
keys[].kty
String
Key type, such as RSA.
keys[].kid
String
Key identifier.
keys[].e
String
RSA public key.
keys[].n
String
RSA public key.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan