---
title: "Discover Auth Method"
method: POST
path: "/auth/discover"
tags: ["auth"]
---

# Discover Auth Method

`POST /auth/discover`

## Request

- Base URL: `https://platform.tracecat.com/api`
- URL: `https://platform.tracecat.com/api/auth/discover`
- Auth: none declared

Return the next-step auth method for a given email.

## Request body

- AuthDiscoverRequest: Request payload for pre-auth discovery.
  - `email` string, email, required
  - `org` string, nullable

## Response `200`

Successful Response

- AuthDiscoverResponse: Pre-auth routing hint response.
  - `method` 'basic' | 'oidc' | 'saml', required: Authentication method hint for client-side routing.
  - `next_url` string, nullable
  - `organization_slug` string, nullable

## Other responses

- `422`: Validation Error

---

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