---
title: "Provides the details of the enabled authentication providers and whether the current user can edit logins for the given user."
method: GET
path: "/users/authentication/{userId}"
tags: ["Users"]
---

# Provides the details of the enabled authentication providers and whether the current user can edit logins for the given user.

`GET /users/authentication/{userId}`

## Path parameters

- `userId` string, required

## Response `200`

The currently enabled authentication providers

- GetUserAuthenticationProvidersResponse
  - `AuthenticationProviders` AuthenticationProviderElement[], required
    - `CSSLinks` string[]
    - `DisplayName` string
    - `FormsLoginEnabled` boolean
    - `IdentityType` 'Guest' | 'UsernamePassword' | 'ActiveDirectory' | 'OAuth'
    - `JavascriptLinks` string[]
    - `Links` object
    - `Name` string
  - `CanCurrentUserEditIdentitiesForUser` boolean, required
  - `Links` object, required

## Other responses

- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
