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

# Authorize

`GET /oauth/authorize`

## Request

- Base URL: `https://api.jubjubapp.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jubjubapp.com/oauth/authorize`
- Auth: HTTP bearer

OAuth 2.1 Authorization Endpoint.

Renders a self-contained consent page with embedded Firebase login.
After login, JS POSTs the Firebase ID token to /oauth/authorize/complete.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jubjubapp/apis/jubjub-api.md) - [All operations](https://skmtc.dev/jubjubapp/apis/jubjub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jubjubapp/apis/jubjub-api/revisions/353157b296f2?raw)
