Skip to content

docs: stop pointing at a login plugin that does not exist - #20

Open
NickJosevski wants to merge 1 commit into
mainfrom
nj/fix-readme-login-link
Open

docs: stop pointing at a login plugin that does not exist#20
NickJosevski wants to merge 1 commit into
mainfrom
nj/fix-readme-login-link

Conversation

@NickJosevski

Copy link
Copy Markdown
Contributor

The problem

v0.2.0 is public, and its Authentication section recommends OctopusDeploy/octopus-login-buildkite-plugin — which 404s. Anyone following the recommended path from the released docs hits a dead end immediately.

It's worse than a broken link: two of the plugin's own error messages sent people there as well, so a misconfigured step told the user to go find something that was never published.

🐙 create-release failed: no Octopus URL. Use the octopus-login plugin, or set 'server'.

The fix

Document what works today instead of a plugin that doesn't exist:

  • API keyserver + api_key, as the examples already show.
  • OpenID Connect — a worked recipe doing the RFC 8693 exchange in a step and exporting OCTOPUS_ACCESS_TOKEN, linked to the Octopus other-issuers docs. This is the flow verified end to end on a Buildkite hosted agent, so it's known to work rather than inferred.

Error messages and plugin.yml descriptions now describe the env vars and properties rather than the missing plugin.

One thing worth keeping in the docs

Buildkite's subject claim pins the commit SHA:

organization:ORG:pipeline:PIPELINE:ref:refs/heads/main:commit:<sha>:step:<key>

so commit:* is effectively required in the OIDC identity's subject. Without it the identity authorises exactly one build and then silently never matches again — a failure that's very hard to diagnose from the error Octopus returns. The README now says so explicitly.

When the login plugin ships

This section should go back to recommending it. The manual recipe stays useful as the "what the plugin does for you" explanation.

Verification

16 tests, linter (6 examples valid, version refs up to date at v0.2.0), shellcheck all pass.

🤖 Generated with Claude Code

v0.2.0 shipped with an Authentication section recommending
OctopusDeploy/octopus-login-buildkite-plugin, which 404s. Two of the
plugin's own error messages sent people there too, so a misconfigured
step told the user to go and find something unpublished.

Replaces it with what actually works today: the api_key path, and a
worked OpenID Connect recipe doing the RFC 8693 exchange in a step,
linked to the Octopus "other issuers" documentation.

Calls out that Buildkite's subject claim pins the commit SHA, so
`commit:*` is effectively required in the OIDC identity's subject -
without it the identity only authorises the build it was created from.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@NickJosevski
NickJosevski enabled auto-merge (rebase) August 31, 2026 01:38
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.

1 participant