Skip to content

feat(auth): add GitLab as a tool authorization provider [TOO-1133]#872

Draft
EricGustin wants to merge 2 commits into
mainfrom
ericgustin/add-gitlab-provider
Draft

feat(auth): add GitLab as a tool authorization provider [TOO-1133]#872
EricGustin wants to merge 2 commits into
mainfrom
ericgustin/add-gitlab-provider

Conversation

@EricGustin

@EricGustin EricGustin commented Jun 14, 2026

Copy link
Copy Markdown
Member

Resolves https://linear.app/arcadedev/issue/TOO-1134/gitlab-well-known-provider-in-arcade-mcp. Sister change to the Engine well-known PR: ArcadeAI/monorepo#1674.

What

Adds the GitLab OAuth2 provider class (provider_id = "gitlab") so toolkits can require GitLab authorization, mirroring the existing GitHub provider. Re-exported from arcade_tdk.auth and arcade_mcp_server.auth.

Files

  • libs/arcade-core/arcade_core/auth.pyclass GitLab(OAuth2)
  • libs/arcade-tdk/arcade_tdk/auth/__init__.py — import + __all__
  • libs/arcade-mcp-server/arcade_mcp_server/auth/__init__.py — import + __all__

Verification

  • arcade_core.auth.GitLab().provider_id == "gitlab"
  • arcade_tdk.auth.GitLab re-exports the same class
  • ruff check clean on all three files

Deploy ordering

Draft on purpose. Per the well-known provider rollout, the framework (arcade-mcp) change deploys after the Engine config + Porter credentials are live, so this should merge after monorepo#1674 + the Porter env-group update.

🤖 Generated with Claude Code

Adds the GitLab OAuth2 provider class (provider_id "gitlab") so toolkits can
require GitLab authorization, mirroring the existing GitHub provider, and
re-exports it from arcade_tdk.auth and arcade_mcp_server.auth.

Sister change to the Engine well-known provider PR (ArcadeAI/monorepo#1674,
TOO-1133). Per the provider rollout order, this should merge/deploy after the
Engine + Porter changes are live.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Jun 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Files with missing lines Coverage Δ
libs/arcade-core/arcade_core/auth.py 100.00% <100.00%> (+14.70%) ⬆️
...cade-mcp-server/arcade_mcp_server/auth/__init__.py 100.00% <ø> (ø)
libs/arcade-tdk/arcade_tdk/auth/__init__.py 100.00% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Instantiating each provider class exercises its __init__/super().__init__,
which codecov patch flags as uncovered when a new provider lands. Walking the
provider classes dynamically keeps every current and future provider covered
with no per-provider test edit.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@EricGustin EricGustin force-pushed the ericgustin/add-gitlab-provider branch from dfd85fd to a41ccb6 Compare June 14, 2026 06:08
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