Join us May 13th & May 14th at Interrupt, the Agent Conference by LangChain. Buy tickets >
curl --request POST \
--url https://api.example.com/v2/auth/providers \
--header 'Content-Type: application/json' \
--data '
{
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"client_secret": "<string>",
"uses_pkce": false,
"code_challenge_method": "S256",
"provider_type": "microsoft",
"token_endpoint_auth_method": "client_secret_post"
}
'{
"id": "<string>",
"organization_id": "<string>",
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_type": "<string>",
"mcp_server_url": "<string>",
"token_endpoint_auth_method": "client_secret_post",
"is_dynamic_client": false
}Create a new OAuth provider manually.
curl --request POST \
--url https://api.example.com/v2/auth/providers \
--header 'Content-Type: application/json' \
--data '
{
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"client_secret": "<string>",
"uses_pkce": false,
"code_challenge_method": "S256",
"provider_type": "microsoft",
"token_endpoint_auth_method": "client_secret_post"
}
'{
"id": "<string>",
"organization_id": "<string>",
"provider_id": "<string>",
"name": "<string>",
"client_id": "<string>",
"auth_url": "<string>",
"token_url": "<string>",
"uses_pkce": true,
"code_challenge_method": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"provider_type": "<string>",
"mcp_server_url": "<string>",
"token_endpoint_auth_method": "client_secret_post",
"is_dynamic_client": false
}Documentation Index
Fetch the complete documentation index at: https://docs.langchain.com/llms.txt
Use this file to discover all available pages before exploring further.
Request model for creating OAuth provider manually.
microsoft, salesforce, slack none, client_secret_basic, client_secret_post Successful Response
Response model for OAuth provider.
Was this page helpful?