OpenAI OAuth Integration
Connect OpenAI to your application and send authenticated API requests through Pathfix.
OpenAI provides APIs for its AI models. In Pathfix, OpenAI uses client key based authorization rather than an OAuth app. Users connect their OpenAI account through Pathfix, and your application sends OpenAI API requests through the Pathfix passthrough API.
How Pathfix helps
- 01
User connections
Users connect their OpenAI account to your app through the Pathfix Connect button.
- 02
Test before you ship
Use Test Connection in Pathfix to connect an account in the API Playground and run sample OpenAI calls.
- 03
Authenticated API passthrough
Your application sends OpenAI API requests through Pathfix, which adds the connected user’s credentials before passing them on to OpenAI.
You own the OpenAI account and credentials, and your code implements the API logic.
POST https://labs.pathfix.com/oauth/method/openaiclientkey/callHow to get started
- 1
Select OpenAI in Pathfix
Add an application in your Pathfix account and select OpenAI from the providers. It uses client key based authorization rather than an OAuth app.
- 2
Test the connection
Use Test Connection to connect an account in the API Playground and run a sample call.
- 3
Add the Connect button
Add the Pathfix Connect button to your app so users can connect their OpenAI account.
- 4
Call the OpenAI API
Send requests through the Pathfix passthrough API using the provider reference
openaiclientkey.