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

# Available authentication methods

## Paths

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

## Description

Provides information about available authentication methods.

## Authentication

- Basic: `Authorization: Basic <credentials>`
- Api key: `Authorization: <value>`

## 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` (object[])
  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

#### curl

```curl
curl -X GET "${API_URL}/users/auth/methods" \
  -u "${USERNAME}:${PASSWORD}"
```

