---
title: "Initiate WorkOS login"
method: GET
path: "/api/workos/login"
tags: ["Private Authentication"]
---

# Initiate WorkOS login

`GET /api/workos/login`

Redirects to WorkOS AuthKit for authentication. Supports PKCE flow for extensions.

## Query parameters

- `redirect_uri` string
- `code_challenge` string
- `code_challenge_method` string

## Response `200`

Login page HTML

## Other responses

- `302` — Redirect to WorkOS authorization URL
- `400` — Bad request

---

[API](https://skmtc.net/dust-tt/apis/dust-api-documentation.md) · [All operations](https://skmtc.net/dust-tt/apis/dust-api-documentation/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dust-tt/dust-api-documentation/revisions/40f10dac8c42/schema)
