oauth

Create an OAuth client

Changed on

Registers a new OAuth 2.0 / OIDC client owned by the caller's organization. For confidential clients the response includes a client_secret that is shown only once.

post/api/v1/platform/oauth/clients

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v1/platform/oauth/clients
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer

Request body

allowed_scopesstring[]
client_namestring
client_typestring

"public" or "confidential"

client_uristring
grant_typesstring[]
logo_uristring
policy_uristring
redirect_urisstring[]
tos_uristring

Response

Created

client_secretstring

Changes