Settings
Settings
CPA connection management
Configure a connection first, then query remote accounts and import selected accounts into the local pool.
Instructions
- The page first loads configured CPA connections.
- Click Sync on a connection to load the remote account list for selection.
- After confirmation, the backend downloads corresponding access_tokens and imports them into the local pool.
- The frontend only polls import progress and does not perform downloads directly.
Sub2API connection management
Configure a Sub2API server to query OpenAI OAuth accounts and bulk import them into the local pool.
Instructions
- Enter the Sub2API URL and admin account, or Admin API Key, and save it as a connection.
- Click Sync on a connection to fetch accounts where platform=openai and type=oauth.
- After selecting accounts, the backend fetches access_tokens concurrently, imports them into the local pool, and refreshes status.
- Only access_token is read from sub2api credentials; refresh_token and related fields are not written locally.