---
title: "OAuth2 authorization request (POST - process authorization)."
method: POST
path: "/oauth2/authorize"
tags: ["Enterprise"]
---

# OAuth2 authorization request (POST - process authorization).

`POST /oauth2/authorize`

## Query parameters

- `client_id` string, required
- `state` string, required
- `response_type` 'code' | 'token', required
- `redirect_uri` string
- `scope` string

## Other responses

- `302` — Returns redirect with authorization code

---

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