feat(honcho): prompt for local JWT during self-hosted setup#30180
Open
haran2001 wants to merge 1 commit into
Open
feat(honcho): prompt for local JWT during self-hosted setup#30180haran2001 wants to merge 1 commit into
haran2001 wants to merge 1 commit into
Conversation
This was referenced May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
local) branch ofhermes honcho setup. Users running Honcho withAUTH_USE_AUTH=trueand anAUTH_JWT_SECRETcan now paste their server-signed JWT through the wizard instead of disabling auth entirely (the previous workaround called out by the issue).hosts.<host>.apiKeyinhoncho.json), not the top-levelapiKeyfield.get_honcho_clientalready treats a host-blockapiKeyon alocalhost/127.0.0.1base URL as an explicit local-auth opt-in (_host_has_keypath), so the SDK call now sends the JWT as the bearer token instead of the"local"placeholder. Cloud/hybrid switching is unaffected (top-levelapiKeyis left alone).AUTH_USE_AUTHkeep working unchanged.Self-Hosted Honcho with Authenticationsubsection to the user-guide Honcho docs.Test Plan
python -m pytest tests/honcho_plugin/test_cli.py -q -o 'addopts='hosts.<host>.apiKey(and leaves the cloudapiKeyuntouched); blank JWT on a fresh local config leaves bothapiKeyslots unset.Closes #29885