-
Add optional OIDC bearer auth on remote/virtual config writes (#136)
ci/woodpecker/tag/docker Pipeline was successfulreleased this
2026-10-16 22:08:20 +11:00 | 42 commits to master since this releaseRemote and virtual configuration writes are unauthenticated, so anything that can reach the API can repoint or delete repos. Vault identity OIDC tokens give callers a verifiable identity.
- add
ARTIFACTAPI_OIDC_ISSUER/ARTIFACTAPI_OIDC_AUDIENCE; unset issuer keeps auth off - require a JWKS-verified bearer token on POST/PUT/DELETE of
/api/v2/remotesand/api/v2/virtuals, 401 otherwise - leave uploads, object deletes, probe, reads and
/v2open - discover the issuer lazily with a 10s client timeout; fail fast with 503 for 15s after a failed discovery
- log the verified
sub; allowAuthorizationin CORS
Reviewed-on: #136
Co-authored-by: unkin-agent unkin-agent@unkin.net
Co-committed-by: unkin-agent unkin-agent@unkin.netDownloads
- add