stack/docs-mintlify/snippets
Aman Ganapathy 21c5198255
chore(cli-auth): publishable key no longer required for cli auth (#1590)
<!-- This is an auto-generated description by cubic. -->
## Summary by cubic
CLI authentication no longer requires a publishable client key. Login
works with only a project ID; pass `publishable_client_key` only if the
project has `requirePublishableClientKey` enabled.

- **New Features**
- In `stack-auth-cli-template.py`, `publishable_client_key` is optional;
requests send `x-hexclave-project-id` and `x-hexclave-access-type:
client`, and include `x-hexclave-publishable-client-key` only when
provided.
- Updated docs and generated prompts to remove the key from examples and
explain when it’s needed.

- **Migration**
- No changes required; existing calls that pass `publishable_client_key`
still work.
- You can remove the argument from `prompt_cli_login(...)` unless your
project requires it.

<sup>Written for commit 1f0e66ee74.
Summary will update on new commits.</sup>

<a
href="https://cubic.dev/pr/hexclave/hexclave/pull/1590?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>

<!-- End of auto-generated description by cubic. -->
2026-06-12 10:12:27 -07:00
..
docs-apps-home-grid.jsx New setup (#1413) 2026-05-06 12:03:06 -07:00
hexclave-agent-reminders.jsx Hosted Components Accounts Navigation bug (#1565) 2026-06-10 23:44:38 +05:30
home-prompt-island.jsx chore(cli-auth): publishable key no longer required for cli auth (#1590) 2026-06-12 10:12:27 -07:00
payments-concepts.jsx [Refactor] [Fix] Remove default prod creation (#1350) 2026-05-15 10:38:33 -07:00
sdk-type-components.jsx Update to support deprecation 2026-04-03 13:16:59 -05:00
user-fields-table.jsx Update mintlify docs in various spots throughout. (#1305) 2026-04-02 11:55:27 -05:00