---
title: "Issue a short-lived API token using OIDC provider authentication"
method: POST
path: "/user/oidc/tokens"
tags: ["OIDC API"]
---

# Issue a short-lived API token using OIDC provider authentication

`POST /user/oidc/tokens`

## Request body

- IssueTokenRequest
  - `provider_id` string, required — The ID of the OIDC provider
  - `web_identity_token` string, required — The Web Identity Token from the OIDC provider

## Response `200`

- string — Short-lived API access token

---

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