---
title: "Auth Methods"
method: GET
path: "/auth/methods"
tags: ["end-user-auth"]
---

# Auth Methods

`GET /auth/methods`

## Request

- Base URL: `https://api.agent4.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.agent4.io/auth/methods`
- Auth: none declared

登录页据此决定显示哪些登录方式：只有租户实际启用/配置的才显示。

公开端点（tenant_id 是公开标识）。auth_mode=proxy 的租户没有平台原生登录，
password/oauth 都为空。社交按钮只列该租户有有效凭证的 provider（见 oauth.available_providers）。

## Query parameters

- `tenant_id` string, required

## Response `200`

Successful Response

- AuthMethodsOut
  - `tenant_id` string, required
  - `password` boolean, required
  - `oauth` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/agent4/apis/chatagent-platform.md) · [All operations](https://skmtc.dev/agent4/apis/chatagent-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/agent4/apis/chatagent-platform/revisions/18e58f082ce3?raw)
