Skip to content

Commit

Permalink
add TODO about universal gitlab support
Browse files Browse the repository at this point in the history
  • Loading branch information
hickford committed Jun 1, 2023
1 parent 30d6f2f commit 62635f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ func main() {
c = configByHost["android.googlesource.com"]
}
if !found && looksLikeGitLab {
// TODO: universal GitLab support with constant client id
// https://gitlab.com/gitlab-org/gitlab/-/issues/374172
// c.ClientID = ...

// assumes GitLab installed at domain root
c.Endpoint = replaceHost(endpoints.GitLab, host)
c.Scopes = configByHost["gitlab.com"].Scopes
Expand Down

0 comments on commit 62635f3

Please sign in to comment.