---
title: "Authorization endpoint"
method: GET
path: "/oauth/authorize"
tags: ["Authentication"]
---

# Authorization endpoint

`GET /oauth/authorize`

The authorization endpoint is used to interact with the resource owner and obtain an authorization grant.

## Query parameters

- `response_type` string, required
- `client_id` string, required
- `redirect_uri` string, required
- `scope` string
- `state` string

## Response `200`

OK

## Changes

> 25 revisions in range; 1 could not be searched.

- **2022-02-14** `ffb3c81d8ce3` — 1 breaking, 5 info
  - the `query` request parameter `redirect_uri` became required
  - api operation id `Authorize` removed and replaced with `authorize`
  - added the new optional `query` request parameter `scope`
  - added the new optional `query` request parameter `state`
  - …2 more
- **2020-10-22** `358f19985531` — 1 info
  - endpoint added
- **2019-08-27** `6d6e730a2d14` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/kubesphere/apis/ks-api/changes/oauth/authorize/get.md)

---

[API](https://skmtc.dev/kubesphere/apis/ks-api.md) · [All operations](https://skmtc.dev/kubesphere/apis/ks-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/kubesphere/ks-api/revisions/0451c8cec9b1/schema)
