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

# Authorize

`GET /oauth/authorize`

OAuth 2.0 Authorization endpoint.

Meta redirects the user here. We validate the request, then redirect
to a consent page where the user authenticates (via Clerk) and grants
access.

## Query parameters

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

## Response `200`

Successful Response

- unknown

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `402` — Payment Required
- `403` — Forbidden
- `404` — Not Found
- `410` — Gone
- `422` — Validation Error
- `500` — Internal Server Error
- `503` — Service Unavailable

---

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