Skip to content

[AIENG-545][Backend] OIDC Jenkins provider support + verify --oidc flow#1351

Open
gokul-cloudbees wants to merge 3 commits into
mainfrom
AIENG-545-Ph-2
Open

[AIENG-545][Backend] OIDC Jenkins provider support + verify --oidc flow#1351
gokul-cloudbees wants to merge 3 commits into
mainfrom
AIENG-545-Ph-2

Conversation

@gokul-cloudbees

@gokul-cloudbees gokul-cloudbees commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds tokenless authentication to the CLI using any OIDC identity provider the CI can act as (Jenkins via the oidc-provider plugin, GitLab, custom IdPs). Instead of a static SMART_TESTS_TOKEN, the pipeline presents a short-lived, signed OIDC id-token that Intake verifies cryptographically. This is the CLI half of AIENG-545 Phase 2 (the Intake backend + WebApp changes ship separately).

Two new actions on the verify command:

smart-tests verify --oidc

Credential-free bootstrap. Presents the id-token to /intake/oidc/verify, prints eval-able export lines for org/workspace/token so later commands authenticate with the same JWT.

smart-tests verify --oidc-fetch-issuer

Run from inside a private network. Reads the issuer from the token, fetches its public JWKS via OIDC discovery, and prints an {issuer, jwks} block for an admin to paste into the WebApp. Authenticates nothing; contacts only the issuer.

@gokul-cloudbees gokul-cloudbees marked this pull request as ready for review July 3, 2026 17:01
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