Repository navigation
feat(auth): enable Go auth by default - #321
Merged
Merged
Conversation
Authentication is now handled in Go unless <PREFIX>GO_AUTH is set to 0, which keeps the legacy PHP implementation available as an opt-out. The wrapper now always passes <PREFIX>GO_AUTH=1 or 0 to the legacy CLI, so that PHP and the processes it starts agree with Go. PHP still defaults to legacy auth when run without the wrapper, as there is no auth channel then. Documents the opt-out in docs/configuration.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
CLI buildsBuilt from 2b715e0 (merged into the base branch). Downloads need a GitHub login, and expire after 7 days.
Or download one with the GitHub CLI, e.g.: gh run download 44558456557 -R upsun/cli -n cli-linux-amd64
chmod +x upsun
./upsun --versionOn macOS, if you downloaded it with a browser, remove the quarantine attribute before running it: |
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.
Authentication is now handled in Go unless
<PREFIX>GO_AUTHis set to0, which keeps the legacy PHP implementation as an opt-out.GoAuthEnabled()returns true unless the variable is0.<PREFIX>GO_AUTH=1or0to the legacy CLI, so that PHP and the processes it starts agree with Go. PHP still defaults to legacy auth when run without the wrapper, as there is no auth channel then.docs/configuration.md.Once credentials are migrated, the legacy copies are deleted, so opting out or downgrading may require logging in again.
🤖 Generated with Claude Code