---
title: "Discover Sso"
method: GET
path: "/api/v1/auth/sso/discover"
tags: ["sso"]
---

# Discover Sso

`GET /api/v1/auth/sso/discover`

## Request

- Base URL: `https://api.badgeia.com`
- URL: `https://api.badgeia.com/api/v1/auth/sso/discover`
- Auth: none declared

Which workspace signs in addresses on ``domain``.

Takes the domain, not the email: the query string lands in access logs,
and the local part is nobody's business here. Reveals only that a domain
uses SSO, and which provider.

## Query parameters

- `domain` string, required

## Response `200`

Successful Response

- SsoDiscoverRead
  - `team_id` string, uuid, required
  - `provider` 'saml' | 'google', required
  - `login_url` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/badgeia/apis/badge.md) · [All operations](https://skmtc.dev/badgeia/apis/badge/llms.txt) · [OpenAPI document](https://skmtc.dev/badgeia/apis/badge/revisions/7e7f7fee8b77?raw)
