인증 제공자에 대한 정보 조회
더 이상 사용되지 않습니다.
애플리케이션의 인증 제공자 중 하나에 대한 정보를 조회합니다.
경로 매개변수
-
Atlas 프로젝트/그룹 ID입니다.
-
애플리케이션의 ObjectID입니다. App Services API 프로젝트 및 애플리케이션 ID 섹션은 이 값을 찾는 방법을 보여줍니다.
-
인증 제공자의 고유한
_id
값입니다.
GET /groups/{groupId}/apps/{appId}/auth_providers/{providerId}
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/auth_providers/{providerId}' \
--header "Authorization: Bearer $ACCESS_TOKEN"
응답 예시(200)
객체-2
{
"_id": "string",
"name": "anon-user",
"type": "anon-user",
"disabled": true
}
{
"_id": "string",
"name": "local-userpass",
"type": "local-userpass",
"disabled": true,
"config": {
"autoConfirm": true,
"resetPasswordUrl": "string",
"resetPasswordSubject": "string"
}
}
{
"_id": "string",
"name": "api-key",
"type": "api-key",
"disabled": true
}
{
"_id": "string",
"name": "custom-token",
"type": "custom-token",
"disabled": true,
"config": {
"audience": [
"string"
],
"requireAnyAudience": false,
"signingAlgorithm": "string",
"useJWKURI": true,
"jwkURI": "string"
},
"secret_config": {
"signingKeys": [
"string"
]
},
"metadata_fields": [
{
"required": true,
"name": "string",
"field_name": "string"
}
]
}
{
"_id": "string",
"name": "custom-function",
"type": "custom-function",
"disabled": true,
"config": {
"authFunctionName": "string"
}
}
{
"_id": "string",
"name": "oauth2-apple",
"type": "oauth2-apple",
"disabled": true,
"config": {
"clientId": "string"
},
"secret_config": {
"clientSecret": "string"
},
"redirect_uris": [
"string"
]
}
{
"_id": "string",
"name": "oauth2-google",
"type": "oauth2-google",
"disabled": true,
"config": {
"clientId": "string",
"openId": true
},
"secret_config": {
"clientSecret": "string"
},
"redirect_uris": [
"string"
],
"metadata_fields": [
[
{
"required": true,
"name": "string"
}
]
],
"domain_restrictions": [
"string"
]
}
{
"_id": "string",
"name": "oauth2-facebook",
"type": "oauth2-facebook",
"disabled": true,
"config": {
"clientId": "string"
},
"secret_config": {
"clientSecret": "string"
},
"redirect_uris": [
"string"
],
"metadata_fields": [
[
{
"required": true,
"name": "string"
}
]
],
"domain_restrictions": [
"string"
]
}