---
title: "Oauth Authorize Get"
method: GET
path: "/api/v1/oauth/authorize"
tags: ["oauth2-server"]
---

# Oauth Authorize Get

`GET /api/v1/oauth/authorize`

## Request

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

OAuth2 authorization endpoint (consent screen).

Before the consent screen is shown, the request must pass the rules the
consent submission applies (#1686): a grantable ``scope``,
``code_challenge_method=S256`` (and a ``code_challenge`` from public
clients), and a ``resource`` naming this server's MCP resource. A failing
request gets an error page (400) showing the OAuth error; nothing is sent
to the client before the user acts. The screen lists the permissions of
the granted scope.

Every parameter travels to the consent POST in its query string, and the
POST validates them again through the grant.

## Query parameters

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

## Response `200`

Successful Response

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud.md) · [All operations](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/llms.txt) · [OpenAPI document](https://skmtc.dev/kagura-ai/apis/kagura-memory-cloud/revisions/09f17f5ada29?raw)
