---
id: create-an-oidc-id-p
title: "Create an OIDC IdP."
description: "Create an OIDC IdP."
sidebar_label: "Create an OIDC IdP."
hide_title: true
hide_table_of_contents: true
api: eJyNlE1v2zAMhv+KwbO2oFff2m6HAANqrO0p8IGxGEetLakSnTUw9N8HymnsfqG9BAL1xiRfPuIImmITjGfjLJRwHQiZCrTFzfrXdbHW1U9QwNhGKDew1mTZ8LGogjsYTQFqBZGaIRg+QrkZ4YowUCguB95DualTrSDQ00CRr5w+QjlC4yyTZTmi951pUFKvHqLkHyE2e+pRTnz0BCW47QM1DAp8cJ4CG4pya7GnhSpyMLYFBb2xf8i2kv4iKWg6Q5bX+tvSW2oC8TfkOPD+PnQfKXcu9MhQwhAMJAXsHsl+U2uyxTtDoUJJ9WUd1KPpPtYmlW369DI2zk9uft2ryyOPZprSSb91riO0kNI0ZhNICyd5OAvz35g7m7fw5l3r5/pqBai1EUywqxYU7LCLlNKUPXpnY+4mKeiJ905DCX7I6GQHYGW0XzmjG/k2hQOFmKEdZDSwOlxAWvB8KyRO9ryi+tz9ntnnKkUnbmRVNkNo/jtz//sZe9/RzO3s9Azo29gLiXP8jNwcmtGaY28Rmm8WrMzBGZE59kLGq9xLBDgMJLTanZOuxMppgRwupCrD0i1UaFvXGVusLVMb8ksvLqu1wOdd5B7twpOPd8+r/bRYH5+tqmk2TM+88h0aK7mG6e1NGGzAaJlbBqFWsHeRJTqOW4x0H7qUJPw0UJCdVis4YDC4lY42dVKwJ5TVJ+Q80lEqmWr6cSe5Rd4NUsO79SZ0ncms7u9Awfa0FXun5S8B/4HKvyVIibntjGCOjdChbQdsRTt9Mp1W0fJVThyql4MUerpCe1wUOI6T4k4gSgnUqZ8MFaQ6pfQfUiQVrQ==
sidebar_class_name: "put api-method"
info_path: 03-Pangolin/07-API/pangolin-integration-api
custom_edit_url: null
---

import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import ParamsDetails from "@theme/ParamsDetails";
import RequestSchema from "@theme/RequestSchema";
import StatusCodes from "@theme/StatusCodes";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
import Heading from "@theme/Heading";

<Heading
  as={"h1"}
  className={"openapi__heading"}
  children={"Create an OIDC IdP."}
>
</Heading>

<MethodEndpoint
  method={"put"}
  path={"/idp/oidc"}
  context={"endpoint"}
>
  
</MethodEndpoint>



Create an OIDC IdP.

<Heading
  id={"request"}
  as={"h2"}
  className={"openapi-tabs__heading"}
  children={"Request"}
>
</Heading>

<ParamsDetails
  parameters={undefined}
>
  
</ParamsDetails>

<RequestSchema
  title={"Body"}
  body={{"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","minLength":1},"clientId":{"type":"string","minLength":1},"clientSecret":{"type":"string","minLength":1},"authUrl":{"type":"string","format":"uri"},"tokenUrl":{"type":"string","format":"uri"},"identifierPath":{"type":"string","minLength":1},"emailPath":{"type":"string"},"namePath":{"type":"string"},"scopes":{"type":"string","minLength":1},"autoProvision":{"type":"boolean"}},"required":["name","clientId","clientSecret","authUrl","tokenUrl","identifierPath","scopes"],"additionalProperties":false}}}}}
>
  
</RequestSchema>

<StatusCodes
  id={undefined}
  label={undefined}
  responses={{}}
>
  
</StatusCodes>


      