Fix HyperFrames Auth Login in SSH and CI
Use HyperFrames device login in a human-operated SSH session, handle the CI refusal, and verify when a local render can run without a HeyGen account.
Updated Dec 4, 2026 · Tested with HyperFrames 0.10.10
Starting browser callback login on a remote or headless session can print this message:
Browser callback login is unavailable in this remote/headless terminal. Run `hyperframes auth login --device`.
With --device in CI, the CLI reports:
`--device` needs a person to approve it and is disabled in CI. Use an API key or workload credential for automation.
The default OAuth flow expects a browser callback the CLI can receive. Devices can use a different browser for approval, but the flow still needs a person and a terminal session that stays running. Local composition creation and MP4 rendering can run without a HeyGen account. See which workflows need one in the HyperFrames authentication documentation.
macOS, Windows, and Linux
On a desktop macOS, Windows, or Linux terminal with a browser available, use the normal callback flow when you need an account-backed feature:
npx hyperframes auth login
For a human-operated SSH session, a headless Linux terminal, or an agent terminal without a working browser callback, use the device flow:
npx hyperframes auth login --device
Open the verification page shown by the CLI on a device you control, follow the approval directions, and leave the terminal attached so the CLI can finish. If the attempt expires, start a new one. On Windows via WSL, use the device flow if the Linux terminal cannot receive the default callback.
Docker and CI
For Docker, prefer local rendering without sign-in if that is all the job requires. If you need interactive sign-in from a headless container that a person is operating, keep the session attached and treat any saved credentials as private runtime state. Plan for that state to disappear when a disposable container is removed.
For CI, remove the OAuth and device-login steps from a local-render workflow. If a job intentionally calls an account-backed service, configure HEYGEN_API_KEY through the CI secret store for the step that needs it. Avoid printing it or passing its value directly on a command line.
Verify the intended operation
npx hyperframes doctor
The dependency report verifies local readiness. For an account-backed workflow, npx hyperframes auth status can show the active credential state in a private terminal. Keep the output of sign-in commands out of shared job logs. See the login guide and installation guide for the account and setup steps.
If the dependency report passes and a particular command still asks for credentials, check the service that command is trying to use. A local render exercises the browser and encoder. Managed rendering and review sharing use a HeyGen account. Keeping these commands in separate job steps makes authentication failures easier to identify.
For a shared runner, verify whether the relevant step received its secret by checking presence only. Use the project and step names to identify the failure in logs without recording credentials.