---
title: "ListLoginProviders"
method: POST
path: "/gitpod.v1.AccountService/ListLoginProviders"
tags: ["gitpod.v1.AccountService"]
---

# ListLoginProviders

`POST /gitpod.v1.AccountService/ListLoginProviders`

Lists available login providers with optional filtering.

 Use this method to:
 - View supported authentication methods
 - Get provider-specific login URLs
 - Filter providers by invite

 ### Examples

 - List all providers:

   Shows all available login providers.

   ```yaml
   pagination:
     pageSize: 20
   ```

 - List for specific invite:

   Shows providers available for an invite.

   ```yaml
   filter:
     inviteId: "d2c94c27-3b76-4a42-b88c-95a85e392c68"
   pagination:
     pageSize: 20
   ```

## Query parameters

- `pageSize` integer
- `token` string

## Request body

- GitpodV1ListLoginProvidersRequest
  - `filter` GitpodV1ListLoginProvidersRequestFilter
    - `email` string, nullable — email is the email address to filter SSO providers by
    - `inviteId` string, uuid, nullable — invite_id is the ID of the invite URL the user wants to login with
  - `pagination` GitpodV1PaginationRequest
    - `pageSize` integer — Page size is the maximum number of results to retrieve per page. Defaults to 25. Maximum 100.
    - `token` string — Token for the next set of results that was returned as next_token of a PaginationResponse

## Response `200`

Success

- GitpodV1ListLoginProvidersResponse
  - `allowCustom` boolean — allow_custom indicates whether custom SSO is allowed for this domain
  - `loginProviders` GitpodV1LoginProvider[]
    - `loginUrl` string — login_url is the URL to redirect the browser agent to for login, when provider is "custom"
    - `provider` string, required — provider is the provider used by this login method, e.g. "github", "google", "custom"
  - `pagination` GitpodV1PaginationResponse, required
    - `nextToken` string — Token passed for retrieving the next set of results. Empty if there are no more results

## Other responses

- `default` — Error

## Changes

> 18 revisions in range; 1 could not be searched.

- **2025-12-15** `d62ef4b9187c` — 3 info
  - added the new optional request property `filter/email`
  - the request property `filter/inviteId` became nullable
  - added the optional property `allowCustom` to the response with the `200` status
- **2025-02-21** `3655d5ad0ac3` — 3 breaking, 2 warning, 5 info
  - the `filter` request property type/format changed from ``/`` to `object`/``
  - the `pagination` request property type/format changed from ``/`` to `object`/``
  - the `pagination` response's property type/format changed from ``/`` to `object`/`` for status `200`
  - removed `#/components/schemas/gitpod.v1.ListLoginProvidersRequest.Filter` from the `filter` request property `allOf` list
  - …6 more
- **2025-02-18** `cd6a05ae99d2` — 1 warning
  - removed the optional property `detail` from the response with the `default` status
- **2025-02-14** `27f7bd641de1` — 1 breaking
  - the response property `loginProviders/items/loginUrl` became optional for the status `200`
- **2025-02-14** `988164042da1` — 3 info
  - the response property `loginProviders/items/loginUrl` became required for the status `200`
  - the response property `loginProviders/items/provider` became required for the status `200`
  - the response property `pagination` became required for the status `200`

[Change history](https://skmtc.dev/gitpod-io/apis/gitpod-v1/changes/gitpod.v1.AccountService/ListLoginProviders/post.md)

---

[API](https://skmtc.dev/gitpod-io/apis/gitpod-v1.md) · [All operations](https://skmtc.dev/gitpod-io/apis/gitpod-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/gitpod-io/gitpod-v1/revisions/44d50c2ac284/schema)
