---
title: "POST /identity/oidc/provider/{name}/token"
method: POST
path: "/identity/oidc/provider/{name}/token"
tags: ["identity"]
---

# POST /identity/oidc/provider/{name}/token

`POST /identity/oidc/provider/{name}/token`

## Request body

- IdentityOidcProviderTokenRequest
  - `client_id` string — The ID of the requesting client.
  - `client_secret` string — The secret of the requesting client.
  - `code` string, required — The authorization code received from the provider's authorization endpoint.
  - `code_verifier` string — The code verifier associated with the authorization code.
  - `grant_type` string, required — The authorization grant type. The following grant types are supported: 'authorization_code'.
  - `redirect_uri` string, required — The callback location where the authentication response was sent.

## Response `200`

OK

---

[API](https://skmtc.dev/lensesio/apis/hashicorp-vault-api.md) · [All operations](https://skmtc.dev/lensesio/apis/hashicorp-vault-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lensesio/apis/hashicorp-vault-api/revisions/bd8194de0697?raw)
