---
title: "Authorize Get"
method: GET
path: "/idp/authorize"
tags: ["Identity Provider"]
---

# Authorize Get

`GET /idp/authorize`

OAuth2 Authorization Endpoint.
Displays login page if not authenticated, consent page if authenticated.
Checks for existing chutes-session-token cookie for SSO.

## Query parameters

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

## Response `200`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chutes/apis/fastapi.md) · [All operations](https://skmtc.net/chutes/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chutes/fastapi/revisions/352418d4e3a2/schema)
