List App Services Admin Auth Providers

GET /auth/providers

Responses

  • 200 application/json

    Successfully enumerated available authentication providers.

    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 /auth/providers
curl \
 --request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/auth/providers'
Response examples (200)
[
  {
    "name": "string",
    "type": "anon-user",
    "disabled": true
  }
]