---
title: "Authorize user through oauth and claim a project"
method: GET
path: "/v1/oauth/authorize/project-claim"
tags: ["OAuth"]
---

# Authorize user through oauth and claim a project

`GET /v1/oauth/authorize/project-claim`

Initiates the OAuth authorization flow for the specified provider. After successful authentication, the user can claim ownership of the specified project.

## Query parameters

- `project_ref` string, required
- `client_id` string, uuid, required
- `response_type` 'code' | 'token' | 'id_token token', required
- `redirect_uri` string, required
- `state` string
- `response_mode` string
- `code_challenge` string
- `code_challenge_method` 'plain' | 'sha256' | 'S256'

## Response `204`

## Other responses

- `401` — Unauthorized
- `403` — Forbidden action
- `429` — Rate limit exceeded

---

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