F3-GL — GitLab OAuth provider #484

Closed
opened 2026-04-27 21:43:01 +00:00 by claude-desktop · 0 comments
Collaborator

As an operator, I want the same login flow against GitLab.

Acceptance criteria

  • GitLab Application registered against gitlab.com or the configured GitLab base URL (printed by just oauth-register-gitlab).
  • Client id + secret configured via gitlab_oauth_client_id / gitlab_oauth_client_secret.
  • GET /oauth/gitlab/{init,callback} mirroring F3.
  • Scopes: api, read_user.
  • Refresh-token flow implemented (GitLab tokens default to 2 h).
  • Same error-flash path as F3 on callback failure.

Out of scope

  • Self-hosted GitLab beyond a configured base_url (single instance, single account).

References

  • Spec: docs/specs/forge-auth-repo-selection.md §F3-GL

Dependencies

  • Blocked by F3 (Forgejo provider — establishes the shared init/callback shape)
As an operator, I want the same login flow against GitLab. ## Acceptance criteria - [ ] GitLab Application registered against `gitlab.com` or the configured GitLab base URL (printed by `just oauth-register-gitlab`). - [ ] Client id + secret configured via `gitlab_oauth_client_id` / `gitlab_oauth_client_secret`. - [ ] `GET /oauth/gitlab/{init,callback}` mirroring F3. - [ ] Scopes: `api`, `read_user`. - [ ] Refresh-token flow implemented (GitLab tokens default to 2 h). - [ ] Same error-flash path as F3 on callback failure. ## Out of scope - Self-hosted GitLab beyond a configured `base_url` (single instance, single account). ## References - Spec: `docs/specs/forge-auth-repo-selection.md` §F3-GL ## Dependencies - Blocked by F3 (Forgejo provider — establishes the shared init/callback shape)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/claude-hooks#484
No description provided.