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

# Authorize

`GET /oauth/authorize`

Begin the authorization-code flow.

On success, redirect (302) to the frontend consent screen carrying the
opaque ``request_id``. On validation failure, return a 400 JSON error
rather than redirecting to an unvalidated URI.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/compresr/apis/compresr-platform-api.md) · [All operations](https://skmtc.net/compresr/apis/compresr-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/compresr/compresr-platform-api/revisions/93ee959dfa51/schema)
