---
title: "POST /create-oidc-app"
method: POST
path: "/create-oidc-app"
tags: ["OIDC Applications"]
---

# POST /create-oidc-app

`POST /create-oidc-app`

## Request

- Base URL: `https://api.akeyless.io`
- URL: `https://api.akeyless.io/create-oidc-app`
- Auth: none declared

## Request body

- CreateOidcApp
  - `accessibility` string: for personal password manager
  - `audience` string: A comma separated list of allowed audiences
  - `delete_protection` string: Protection from accidental deletion of this object [true/false]
  - `description` string: Description of the object
  - `item-custom-fields` object: Additional custom fields to associate with the item
  - `json` boolean: Set output format to JSON
  - `key` string: The name of a key that used to encrypt the OIDC application (if empty, the account default protectionKey key will be used)
  - `metadata` string: Deprecated - use description
  - `name` string, required: OIDC application name
  - `permission-assignment` string: A json string defining the access permission assignment for this app
  - `public` boolean: Set to true if the app is public (cannot keep secrets)
  - `redirect-uris` string: A comma separated list of allowed redirect uris
  - `scopes` string: A comma separated list of allowed scopes
  - `tags` string[]: Add tags attached to this object
  - `token` string: Authentication token (see `/auth` and `/configure`)
  - `uid-token` string: The universal identity token, Required only for universal_identity authentication

## Response `200`

createOidcAppResponse wraps response body.

- CreateOidcAppOutput
  - `client_id` string
  - `client_secret` string
  - `name` string

## Other responses

- `default`: errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.dev/akeyless/apis/identity-access.md) - [All operations](https://skmtc.dev/akeyless/apis/identity-access/llms.txt) - [OpenAPI document](https://skmtc.dev/akeyless/apis/identity-access/revisions/6fbc3858ec88?raw)
