You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf1b04b
Browse filesBrowse the repository at this point in the historyBrowse files
* fix(auth): accept host-managed HeyGen access tokens
* fix(auth): share environment header validation
* docs(auth): condense credential resolver guidance
* fix(auth): report the account a browser login just signed in
Identify the account from the tokens the login issued, not a fresh credential
lookup that an environment token or API key outranks.
* docs(auth): list the host access token in the CLI credential order
* fix(cli): name a rejected host access token on publish
Publish told a host-token user to log in again, which cannot help while the token outranks the login.
* docs(auth): show the media credential order main resolves
* fix(cli): warn at logout that a host access token still signs commands
One map of environment credential variables, owned by the resolver, now feeds the logout warning and both publish messages.
* docs(auth): scope the media credential order to the audio scripts
* refactor(cli): read every env credential name from the resolver's map
|`HYPERFRAMES_API_KEY`| Alias for `HEYGEN_API_KEY`. |
140
-
|`HEYGEN_API_URL`| API base URL (default `https://api.heygen.com`). |
145
+
|`HEYGEN_ACCESS_TOKEN`| OAuth token a host app injects; never refreshed or saved. |
146
+
|`HEYGEN_API_BASE`| A host app's gateway for media workflows; never read from a project `.env`. |
147
+
|`HEYGEN_API_URL`| API base URL for `hyperframes` CLI commands (default `https://api.heygen.com`). |
Copy file name to clipboardExpand all lines: packages/cli/src/commands/auth.ts
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,7 @@ ${c.bold("SUBCOMMANDS:")}
40
40
${c.bold("ENV VARS:")}
41
41
${c.accent("HEYGEN_API_KEY")} Override the stored credential.
42
42
${c.accent("HYPERFRAMES_API_KEY")} Alias for HEYGEN_API_KEY.
43
+
${c.accent("HEYGEN_ACCESS_TOKEN")} OAuth token from a host app; used after the API keys, never refreshed or saved.
43
44
${c.accent("HEYGEN_API_URL")} Override the API base URL (default https://api.heygen.com).
44
45
${c.accent("HEYGEN_CONFIG_DIR")} Override the credentials directory (default ~/.heygen).
45
46
${c.accent("HYPERFRAMES_OAUTH_CLIENT_ID")} Override the OAuth client_id (for dev/test).
0 commit comments