---
title: "Get Login Provider"
method: POST
path: "/public/login-provider"
tags: ["public", "auth"]
---

# Get Login Provider

`POST /public/login-provider`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/public/login-provider`
- Auth: none declared

Public endpoint — resolves which login flow serves an email address, by
the login_provider_type of the company owning the email's domain, for the
email-first /auth page.

Keyed on domain, not the user (two emails at the same domain return the
same answer), so it discloses a domain's login provider like any
email-first SSO flow, and never whether a particular user exists.

## Request body

- LoginProviderRequest
  - `email` string, required

## Response `200`

Successful Response

- LoginProviderResponse
  - `provider` 'google' | 'microsoft' | 'saml' | 'supertokens_saml', required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
