---
title: "Fetch authorization url for OIDC login"
method: GET
path: "/api/v2/token/login"
---

# Fetch authorization url for OIDC login

`GET /api/v2/token/login`

## Request

- Base URL: `https://docs.alauda.io` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.alauda.io/api/v2/token/login`
- Auth: none declared

## Response `200`

OK

- OidcLoginInfo
  - `auth_url` string, required
  - `logout_url` string
  - `state` string, required

## Other responses

- `400`: BadRequest

---

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