๐ Share how you're building agents for a chance to win LangChain swag!
cURL
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>", "client_secret": "<string>", "auth_url": "<string>", "token_url": "<string>", "uses_pkce": false, "code_challenge_method": "S256" } '
{ "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>" }
Create a new OAuth provider.
Request model for creating OAuth provider.
Successful Response
Response model for OAuth provider.
Was this page helpful?