List authentication providers in a Atlas App Services App

GET /groups/{groupId}/apps/{appId}/auth_providers

List authentication providers within a Atlas App Services App.

Path parameters

Responses

  • 200 application/json

    Successfully listed.

    Hide response attributes Show response attributes object
    • name string Required

      The name of the authentication provider. This value must be the same as the value of type.

    • type string Required

      Values are anon-user, local-userpass, api-key, oauth2-apple, oauth2-google, oauth2-facebook, custom-token, or custom-function.

    • disabled boolean

      If true, the auth provider is disabled. Users cannot log in through the provider until it is enabled.

GET /groups/{groupId}/apps/{appId}/auth_providers
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/auth_providers' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
[
  {
    "name": "string",
    "type": "anon-user",
    "disabled": true
  }
]