一、支持的应用类型
Web 应用、单页应用、移动 App、M2M 应用、小程序应用。
二、请求方法
GET
三、请求路径
/.well-known/openid-configuration
四、请求示例
GET /.well-known/openid-configuration HTTP/1.1Host: sample.portal.tencentciam.com
五、正常响应示例
HTTP/1.1 200 OKContent-Type: application/json{ "issuer" : "https://sample.portal.tencentciam.com", "authorization_endpoint" : "https://sample.portal.tencentciam.com/oauth2/authorize", "token_endpoint" : "https://sample.portal.tencentciam.com/oauth2/token", "token_endpoint_auth_methods_supported" : [ "client_secret_basic", "client_secret_post" ], "jwks_uri" : "https://sample.portal.tencentciam.com/oauth2/jwks", "response_types_supported" : [ "code" ], "grant_types_supported" : [ "authorization_code", "client_credentials", "refresh_token" ], "subject_types_supported" : [ "public" ], "id_token_signing_alg_values_supported" : [ "RS256" ], "scopes_supported" : [ "openid" ]}
六、响应参数
| 参数 | 数据类型 | 描述 |
| issuer | String | OIDC Issuer。 |
| authorization_endpoint | String | OAuth 2.0 获取授权的服务地址。 |
| token_endpoint | String | OAuth 2.0 获取 Token 的服务地址。 |
| jwks_uri | String | 获取 JWT 公钥的服务地址。 |
| grant_types_supported | Array | 支持的 OAuth 2.0 Grant Type。 |
| response_types_supported | Array | OAuth 2.0 获取授权服务支持的 Response Type。 |
| token_endpoint_auth_methods_supported | Array | OAuth 2.0 获取 Token 服务支持的认证方式。 |
| subject_types_supported | Array | 支持的 OIDC Subject Identifier Type。 |
| id_token_signing_alg_values_supported | Array | 支持的 JWS 签名算法。 |
| scopes_supported | Array | 支持的 OAuth 2.0 Scope。 |