Skip to content

docs(ai): add OIDC auth spec and decisions (FLPATH-4477) - #30

Merged
chadcrum merged 7 commits into
dcm-project:mainfrom
chadcrum:flpath-4477-cli-oidc-auth-spec
Aug 13, 2026
Merged

docs(ai): add OIDC auth spec and decisions (FLPATH-4477)#30
chadcrum merged 7 commits into
dcm-project:mainfrom
chadcrum:flpath-4477-cli-oidc-auth-spec

Conversation

@chadcrum

@chadcrum chadcrum commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add FLPATH-4477 OIDC auth .ai spec and design decisions
  • Point dcm-cli.spec.md at the new OIDC auth spec and remove auth from out-of-scope
  • Split docs from the CLI implementation so review can land independently

Related PRs

Split FLPATH-4477 documentation from the CLI implementation PR.
The e2e OIDC test plan lives in dcm-project/utilities.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@chadcrum chadcrum changed the title docs(ai): add OIDC auth spec, decisions, and test plan docs(ai): add OIDC auth spec and decisions (FLPATH-4477) Aug 5, 2026
@chadcrum
chadcrum force-pushed the flpath-4477-cli-oidc-auth-spec branch from fd92d7e to 23af495 Compare August 5, 2026 16:19

@gciavarrini gciavarrini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this is PR contains md written for AI agents, I used AI to help review it too.

Comment thread .ai/specs/dcm-cli-oidc-auth.spec.md Outdated
Comment thread .ai/specs/dcm-cli-oidc-auth.spec.md Outdated
Comment thread .ai/specs/dcm-cli-oidc-auth.spec.md Outdated
Comment thread .ai/specs/dcm-cli-oidc-auth.spec.md Outdated
Comment thread .ai/specs/dcm-cli-oidc-auth.spec.md Outdated
chadcrum and others added 6 commits August 6, 2026 11:38
Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…oject#30)

Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…ect#30)

Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…fresh

Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>

@gciavarrini gciavarrini left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

chadcrum added a commit to dcm-project/utilities that referenced this pull request Aug 11, 2026
)

## Summary
- Add the FLPATH-4477 DCM CLI OIDC authentication e2e test plan under
`test-plans/`
- Relocate it from dcm-project/cli because the cases need a live
Keycloak/control-plane stack

## Related PRs
- Spec: dcm-project/cli#30
- Implementation: dcm-project/cli#29

---------

Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
chadcrum added a commit that referenced this pull request Aug 13, 2026
…#29)

## Summary

OIDC device authorization for the DCM CLI - `dcm login` / `dcm logout`,
token storage (keyring with file fallback), authenticated HTTP transport
with refresh, and a `DCM_TOKEN` / `--token` bypass for CI.

Split into three commits for easier review:

1. `feat(auth):` core code - auth / commands / config
2. `test(auth):` all test files
3. `chore(auth):` go.mod / go.sum + CLAUDE.md / README.md

## Related PRs
- Spec: #30
- E2E test plan: dcm-project/utilities#34

Closes https://issues.redhat.com/browse/FLPATH-4477

---------

Signed-off-by: Chad Crum <ccrum@redhat.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Claude <noreply@anthropic.com>
@vkolodny

Copy link
Copy Markdown

/lgtm

@chadcrum
chadcrum merged commit 27952cd into dcm-project:main Aug 13, 2026
4 of 5 checks passed
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.

3 participants