获取身份源详细信息
GET
/api/v2/extIdp/{id}
请求参数
Path 参数
id
string
身份源 ID
示例值:
61cc29a073ba45e532f6abfb
Header 参数
Authorization
string
Token
示例值:
Bearer eyJhbG
x-authing-userpool-id
string
用户池 ID
示例值:
61b95d6c96d42670da568408
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://core.authing.cn/api/v2/extIdp/61cc29a073ba45e532f6abfb' \
--header 'Authorization: Bearer eyJhbG' \
--header 'x-authing-userpool-id: 61b95d6c96d42670da568408'
返回响应
🟢200成功
application/json
Body
code
integer
必需
message
string
必需
data
object
必需
id
string
必需
name
string
必需
type
string
必需
connections
array [object {7}]
必需
示例
{
"code": 200,
"message": "获取身份源详细信息成功",
"data": {
"id": "61cc29a073ba45e532f6abfb",
"name": "GitHub",
"type": "github",
"connections": [
{
"id": "61cc29a04997e5ac28946cca",
"type": "github",
"identifier": "zhaoyiming-dev-github-oauth",
"displayName": "GitHub 登录",
"fields": {
"clientID": "57fa639dc83701e8f2fb",
"clientSecret": "b7cd64098a528315dca1569afea8ea5e82a2c49f",
"callbackURL": "http://console.authing.localhost:3000/console/61b95d6c96d42670da568408",
"scopes": [
"read:user",
"user:email"
]
},
"logo": "https://files.authing.co/authing-console/social-connections/icon_github.png",
"userMatchFields": null
}
]
}
}
修改于 2022-01-13 08:35:48