Loading
docs(auth): say client_id is ignored on GitLab.com
Description
On GitLab.com, glab always uses its built-in OAuth application. It ignores client_id and GITLAB_CLIENT_ID there, and the authentication docs did not say so. I added one sentence to the GitLab.com OAuth section.
This MR replaces !4142 (closed), following the decision in !4142 (comment 4136993710).
Implemented with AI assistance. I reviewed the change.
Related issues and merge requests
Related to #8616 (closed)
The issue asks to make these settings work on GitLab.com, and this MR does not do that. So I linked it without closing it. The revocation problem stays in gitlab#633772.
Documentation
This page is maintained by hand, so make gen-docs does not apply to it.
I checked the sentence against main:
$ git grep -n -A2 'IsSelfHosted(hostname)' upstream/main -- internal/oauth2/config.go
upstream/main:internal/oauth2/config.go:41: if !glinstance.IsSelfHosted(hostname) {
upstream/main:internal/oauth2/config.go-42- return glinstance.DefaultClientID, nil
upstream/main:internal/oauth2/config.go-43- }The rest runs in the pipeline.