---
title: "Authorize"
method: GET
path: "/oauth/authorize"
---

# Authorize

`GET /oauth/authorize`

## Request

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

Check the request, then hand the browser to the consent page.

Nothing is minted here and no session is read -- the person may not even be
signed in yet. The consent page sends them through /login and back.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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