Skip to content

[codex] add oauth gitlab backend#9

Merged
aksOps merged 1 commit into
mainfrom
codex/oauth-gitlab-backend
Jul 3, 2026
Merged

[codex] add oauth gitlab backend#9
aksOps merged 1 commit into
mainfrom
codex/oauth-gitlab-backend

Conversation

@aksOps

@aksOps aksOps commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add OAuth authorization-code + PKCE support for GitLab auth, including loopback callback handling, state validation, token exchange, refresh, and owner-only local secret persistence on Unix.
  • Keep GitLab as the source of truth for issues, labels, notes, and board state by removing startup auto-sync and local sidecar board-state persistence.
  • Add GitLab metadata fields, backend job error mapping, and TUI parity refinements, plus a screenshot capture example for review artifacts.

Impact

Users can authenticate with GitLab OAuth instead of only PATs. PAT auth still works. Local storage is now limited to config/secrets; board data is read from and written to GitLab through explicit actions.

Validation

  • cargo test -> 294 passed
  • cargo fmt -- --check -> clean
  • cargo clippy --all-targets --all-features -> 0 errors, 5 existing warnings
  • git diff --cached --check -> clean before commit

Notes

Live OAuth/GitLab integration still needs a disposable GitLab project and OAuth app configured with http://127.0.0.1:8910/oauth/callback.

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​sha2@​0.11.010010093100100

View full report

@sonarqubecloud

sonarqubecloud Bot commented Jul 3, 2026

Copy link
Copy Markdown

@aksOps aksOps marked this pull request as ready for review July 3, 2026 03:50
@aksOps aksOps merged commit 58ed0a9 into main Jul 3, 2026
8 checks passed
@aksOps aksOps deleted the codex/oauth-gitlab-backend branch July 3, 2026 03:50
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