---
title: "Creates a new third-party auth integration"
method: POST
path: "/v1/projects/{ref}/config/auth/third-party-auth"
tags: ["Auth"]
---

# Creates a new third-party auth integration

`POST /v1/projects/{ref}/config/auth/third-party-auth`

## Path parameters

- `ref` string, required

## Request body

- CreateThirdPartyAuthBody
  - `oidc_issuer_url` string
  - `jwks_url` string
  - `custom_jwks` unknown

## Response `201`

- ThirdPartyAuth
  - `id` string, uuid, required
  - `type` string, required
  - `oidc_issuer_url` string, nullable
  - `jwks_url` string, nullable
  - `custom_jwks` unknown
  - `resolved_jwks` unknown
  - `inserted_at` string, required
  - `updated_at` string, required
  - `resolved_at` string, nullable

## 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)
