Skip to content

feat(auth): enable Go auth by default - #321

Merged
bojanz merged 1 commit into
mainfrom
claude/go-auth-default-12802f
Nov 19, 2026
Merged

bojanz merged 1 commit into
mainfrom
claude/go-auth-default-12802f

Conversation

@pjcdawkins

Copy link
Copy Markdown
Contributor

Authentication is now handled in Go unless <PREFIX>GO_AUTH is set to 0, which keeps the legacy PHP implementation as an opt-out.

  • GoAuthEnabled() returns true unless the variable is 0.
  • The wrapper 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.

Once credentials are migrated, the legacy copies are deleted, so opting out or downgrading may require logging in again.

🤖 Generated with Claude Code

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>
@github-actions

Copy link
Copy Markdown

CLI builds

Built from 2b715e0 (merged into the base branch). Downloads need a GitHub login, and expire after 7 days.

Platform Download
linux-amd64 cli-linux-amd64
linux-arm64 cli-linux-arm64
darwin-amd64 cli-darwin-amd64
darwin-arm64 cli-darwin-arm64
windows-amd64 cli-windows-amd64

Or download one with the GitHub CLI, e.g.:

gh run download 44558456557 -R upsun/cli -n cli-linux-amd64
chmod +x upsun
./upsun --version

On macOS, if you downloaded it with a browser, remove the quarantine attribute before running it: xattr -d com.apple.quarantine upsun.

@bojanz
bojanz merged commit f3d8a09 into main Nov 19, 2026
13 checks passed
@bojanz
bojanz deleted the claude/go-auth-default-12802f branch November 19, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants