---
type: api
title: Available authentication methods
description: Provides information about available authentication methods.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/operation/operation-methods
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/operation/operation-methods
products:
  - Elastic Cloud Enterprise
---

# Available authentication methods

## Paths

- `GET` `/users/auth/methods`

- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/authentication#basicauth)
- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/cloud-enterprise/v4/authentication#apikey)

## Description

Provides information about available authentication methods.

## Response

Available authentication methods response

`application/json`

- `password` (boolean)
  Indicates that username and password authentication is available.
- `saml` (boolean)
  Indicates that SAML single sign-on authentication is available.
- `openid` (boolean)
  > WARNING
> This endpoint is deprecated and scheduled to be removed in the next major version. This field is no longer used and will always be false.
- `sso_methods` ([] SsoAuthenticationMethodInfo)
  Lists details for the available single sign-on methods.
  - `sso_type` (enum)
    Indicates the protocol of the single sign-on method.
    Values: `saml`
  - `name` (string)
    The friendly name of the single sign-on method.
  - `url` (string)
    The URL to initiate the single sign-on login.
## Code Examples

#### Console

```console
GET /users/auth/methods
```

#### curl

```curl
curl -X GET "/users/auth/methods"
```

