---
title: "Authorize"
method: GET
path: "/oauth/authorize"
tags: ["OAuth"]
---

# Authorize

`GET /oauth/authorize`

## Request

- Base URL: `https://api.emile.wine` (the document declares no server; this is the origin it was published from)
- URL: `https://api.emile.wine/oauth/authorize`
- Auth: none declared

Validates the OAuth request shape, then 302-redirects to the
consent UI which lives on app.emile.wine. Errors that occur BEFORE
redirect_uri validation return a direct 400 (never redirect to an
untrusted client URL — RFC 6749 § 4.1.2.1).

## Query parameters

- `client_id` string, required
- `redirect_uri` string, required
- `response_type` string
- `scope` string
- `state` string, nullable
- `code_challenge` string, nullable
- `code_challenge_method` string

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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