Analysis updated 2026-05-18
Automate registering or signing in to a ChatGPT Team or Business sub-account through a real browser window.
Save the ChatGPT access token and session token locally so later runs skip repeated logins.
Integrate the registration flow into Codex as a skill so the agent can drive retries and onboarding on its own.
Pass a session JSON captured from Codex's built-in browser to a helper script that saves it locally.
| ikunycj/gpt-team-register | davidondrej/autogit | shootthesound/comfyui-angelo | |
|---|---|---|---|
| Stars | 39 | 39 | 39 |
| Language | JavaScript | JavaScript | JavaScript |
| Setup difficulty | moderate | easy | moderate |
| Complexity | 3/5 | 2/5 | 3/5 |
| Audience | developer | developer | designer |
Figures from each repo's GitHub metadata at analysis time.
Requires Node.js, Playwright, and manual Cloudflare verification in the opened browser window during first login.
gpt-team-register is a command-line tool that automates the process of registering or signing in to a ChatGPT Team or Business sub-account. The README is written in Chinese. The core mechanism uses Playwright, a browser automation library, to open a real Chrome or Chromium window and walk through the login flow automatically: navigating to the ChatGPT login page, selecting the right SSO (single sign-on) provider, filling in the SAML authentication form, and completing the first-login onboarding steps. After a successful login or registration, the tool saves a session cache file containing the ChatGPT access token and session token to a local folder called chatgpt_sessions. This cache is excluded from git by default so tokens are not accidentally committed. The saved tokens can be reused in later runs to skip repeated authentication steps and reduce how often the tool encounters Cloudflare verification challenges. If the browser hits a Cloudflare check during the flow, the script pauses and waits for the user to complete it manually in the open window, then resumes when the user presses Enter in the terminal. SAML request expiry errors trigger an automatic retry. The tool has two main usage modes. The first runs the entire registration and session-saving flow as a standalone script, which is suited to routine batch registrations. The second is designed for use inside Codex (OpenAI's coding agent): Codex opens its built-in browser, you manually complete the login, then navigate to the session API endpoint and pass the resulting JSON to a helper script that saves it locally. The repository also includes a Codex skill definition so the tool can be integrated directly into an agent workflow, letting Codex handle retries and drive the registration process on its own. The README notes this is not a general-purpose OpenAI account tool, it targets specific Team and Business workspaces with a particular SSO configuration. Licensed under Apache 2.0.
A command line tool that uses browser automation to register or sign in to ChatGPT Team or Business sub-accounts and save the resulting session tokens.
Mainly JavaScript. The stack also includes Node.js, JavaScript, Playwright.
Use freely for any purpose, including commercial use, as long as you keep the copyright and license notices.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.