Repository navigation
app/: GitLab sign-in (sc-8900) - #55
Merged
Merged
Conversation
VisualCIdocspring/visualci · build #258 · 331 unchanged · no changes This PR vs base: 2 changed since #196, across 5 builds Updated as builds change. Agents can review with VisualCI's MCP tools. |
ndbroadbent
force-pushed
the
laravel-hosts
branch
from
December 2, 2026 13:04
ac4ab44 to
d141bf4
Compare
ndbroadbent
force-pushed
the
laravel-gitlab
branch
from
December 2, 2026 13:05
3196d37 to
fba7d5a
Compare
ndbroadbent
force-pushed
the
laravel-hosts
branch
from
December 2, 2026 13:15
d141bf4 to
c79021c
Compare
ndbroadbent
force-pushed
the
laravel-gitlab
branch
from
December 2, 2026 13:15
fba7d5a to
0489090
Compare
ndbroadbent
force-pushed
the
laravel-gitlab
branch
from
December 2, 2026 13:34
0489090 to
520180b
Compare
…LCI_GITLAB_URL, default gitlab.com; GITLAB_CLIENT_ID/SECRET; read_user read_api), a confirmed account's addresses as verified, and the projects the person can reach with their access level; ported from server/src/forge/gitlab.rs. Self-managed instances registered by organizations come later
…re trusted to match an account by email; any other instance's identities carry its base URL as their site, so its addresses never match (its admins can set any address); tested for an unconfirmed address and a self-managed instance
ndbroadbent
force-pushed
the
laravel-gitlab
branch
from
December 2, 2026 14:26
520180b to
0d3858c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #53. GitLab sign-in for the Laravel Rust app, ported from server/src/forge/gitlab.rs.
gitlabprovider: VisualCI's own OAuth application onVISUALCI_GITLAB_URL(default gitlab.com), withGITLAB_CLIENT_IDandGITLAB_CLIENT_SECRETand the scopesread_user read_api, as today./api/v4/user. A confirmed account's primary and commit addresses count as verified.forge::gitlab::sign_inreads the projects the person can reach (membership=true&min_access_level=20), with their access level mapped as today: Owner → admin, Maintainer → maintain, Developer → write, Reporter → read./auth/gitlaband its callback go through the same handler as GitHub.Test: a GitLab sign-in makes an account from the confirmed address, with the GitLab identity. All 15 app tests pass, and clippy is clean.