On your website Add a familiar sign-in option. Authenticate users and create a session in your application. In your ChatGPT plugin Accelerate your plugin's authentication flow with Sign in with ...
Use this guide when you run an open-source app on a remote virtual machine (VM). 1. Create a host ID for the VM Before importing credentials, create and persist a stable ext_agent_host_id for the VM.
Register an open-source client, validate the ID token and permissions, and store the user’s basic account info and credentials.
Look up token-response fields, lifetimes, and access-token claims. Read and save the refresh_token field from the token-endpoint response so your app can renew access. The refresh token is separate ...
Review Responses API requirements and Codex app-server behavior for ChatGPT plan usage.
Sign in with ChatGPT is currently offered to a select group of commercial partners. To join the waitlist, complete the Sign in with ChatGPT interest form.
This branch applies when consent is declined or the OAuth result lacks permission to use the user’s ChatGPT plan. Do not proceed to inference on this path. After a successful OAuth exchange, check the ...
Help users understand when your app uses their ChatGPT plan, where to manage usage, and what to do when they reach a limit. Use these guidelines for ChatGPT plan usage and the approved sign-in button ...
Using Codex app-server If your app uses Codex app-server, configure it to send inference requests to the Responses API using an OAuth access token authorized for the user’s ChatGPT plan. You can use ...
Check the HTTP response for request errors. For failures during a turn or environment setup, check events and saved state. These errors describe the request to the Agents API. They are separate from ...
Use AWS Lambda MicroVMs to run your agent’s tools in your AWS account. OpenAI runs the agent harness; each MicroVM runs codex exec-server and holds the session’s workspace files. Build an image, then ...
Sign in with ChatGPT lets users sign in to your app with their ChatGPT account and, when eligible, use their ChatGPT plan to power its AI features. Eligible ChatGPT Plus and Pro users can try your ...