All Projects → gabrie-allaigre → sonar-auth-gitlab-plugin

gabrie-allaigre / sonar-auth-gitlab-plugin

Licence: LGPL-3.0 license
Use GitLab OAuth login in SonarQube login page

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to sonar-auth-gitlab-plugin

docker
collection of docker / docker-compose files, dind, gitlab, jenkins, mongo, mysql, oracle, rabbitmq, redis, sonarqube
Stars: ✭ 25 (-74.23%)
Mutual labels:  gitlab, sonarqube
Hands On Devops
A hands-on DevOps course covering the culture, methods and repeated practices of modern software development involving Packer, Vagrant, VirtualBox, Ansible, Kubernetes, K3s, MetalLB, Traefik, Docker-Compose, Docker, Taiga, GitLab, Drone CI, SonarQube, Selenium, InSpec, Alpine 3.10, Ubuntu-bionic, CentOS 7...
Stars: ✭ 196 (+102.06%)
Mutual labels:  gitlab, sonarqube
Sonar Gitlab Plugin
Add to each commit GitLab in a global commentary on the new anomalies added by this commit and add comment lines of modified files
Stars: ✭ 630 (+549.48%)
Mutual labels:  gitlab, sonarqube
Oauth
🔗 OAuth 2.0 implementation for various providers in one place.
Stars: ✭ 336 (+246.39%)
Mutual labels:  oauth, gitlab
Springcloudfeign
基于Gitlab + Jenkins + Harbor + Sonarqube + Docker + Kubernetes 完成可持续集成与可持续交付解决方案
Stars: ✭ 149 (+53.61%)
Mutual labels:  gitlab, sonarqube
Assent
Multi-provider framework in Elixir
Stars: ✭ 126 (+29.9%)
Mutual labels:  oauth, gitlab
oauth2-wechat
微信登录认证授权 Wechat login authorization. This package provides Wechat OAuth 2.0 support for the PHP League's OAuth 2.0 Client
Stars: ✭ 18 (-81.44%)
Mutual labels:  oauth
Weibo
[READ ONLY] Subtree split of the SocialiteProviders/Weibo Provider (see SocialiteProviders/Providers)
Stars: ✭ 37 (-61.86%)
Mutual labels:  oauth
merge-request-notifier
This app shows your merge requests grouped by projects and WIP status. It is accessible from the system tray.
Stars: ✭ 47 (-51.55%)
Mutual labels:  gitlab
2019-21
🙋‍♀️ 🙋‍♂️ 바글바글(Vaagle): 실시간 질의응답 및 투표 공유 서비스
Stars: ✭ 38 (-60.82%)
Mutual labels:  oauth
okta-jhipster-microservices-oauth-example
A microservices architecture built with JHipster, OAuth 2.0, and Okta
Stars: ✭ 29 (-70.1%)
Mutual labels:  oauth
gitrows
A lightweight module for using git as a database
Stars: ✭ 212 (+118.56%)
Mutual labels:  gitlab
integration gitlab
🦊 GitLab integration into Nextcloud
Stars: ✭ 31 (-68.04%)
Mutual labels:  gitlab
caesar
持续集成
Stars: ✭ 40 (-58.76%)
Mutual labels:  gitlab
code-examples-manager
Software tool to manage your notes and code examples, to publish them as gists or snippets
Stars: ✭ 26 (-73.2%)
Mutual labels:  gitlab
doorkeeper-openid connect
OpenID Connect extension for Doorkeeper
Stars: ✭ 152 (+56.7%)
Mutual labels:  oauth
grru
Gitlab Release Remover UI
Stars: ✭ 42 (-56.7%)
Mutual labels:  gitlab
pyTwitchAPI
A Python 3.7 implementation of the Twitch API, EventSub and PubSub
Stars: ✭ 132 (+36.08%)
Mutual labels:  oauth
dpop
DPoP for Web Platform API JavaScript runtimes
Stars: ✭ 20 (-79.38%)
Mutual labels:  oauth
rhythm
Time-based job scheduler for Apache Mesos
Stars: ✭ 30 (-69.07%)
Mutual labels:  gitlab

Sonar Auth GitLab Plugin

https://travis-ci.org/gabrie-allaigre/sonar-auth-gitlab-plugin

Inspired by https://github.com/SonarSource/sonar-auth-github

The version 1.3.2 is directly in the SonarQube update center

Version 1.4.0-SNAPSHOT

  • Change secret field to text field
  • Update sonar-plugin to 7.0

Version 1.3.2

  • Fix bug with group & ldap #20
  • Add option to ignore Certificate for access GitLab #18

Download 1.3.2 version https://github.com/gabrie-allaigre/sonar-auth-gitlab-plugin/releases/download/1.3.2/sonar-auth-gitlab-plugin-1.3.2.jar

Version 1.3.1

  • Fix bug with sync #16

Download 1.3.1 version https://github.com/gabrie-allaigre/sonar-auth-gitlab-plugin/releases/download/1.3.1/sonar-auth-gitlab-plugin-1.3.1.jar

Version 1.3.0

  • Add default v4 api
  • Add sync groups option with GitLab (use exception for not sync, example admin account)
  • Add custom groups for user

Download 1.3.0 version https://github.com/gabrie-allaigre/sonar-auth-gitlab-plugin/releases/download/1.3.0/sonar-auth-gitlab-plugin-1.3.0.jar

Version 1.2.2

  • Add option to change scope for GitLab (since 9.2, scope is api)

Download 1.2.2 version https://github.com/gabrie-allaigre/sonar-auth-gitlab-plugin/releases/download/1.2.2/sonar-auth-gitlab-plugin-1.2.2.jar

Goal

Enables user authentication and Single Sign-On via GitLab.

Uses GitLab OAuth login in SonarQube login page.

Signin

Usage

For SonarQube >=5.6:

For SonarQube >=5.4:

Other Plugin: Add Reporting in GitLab commit

Configuration

Warning : In SonarQube, must have Server base URL with HTTPS

  • In GitLab, create Application OAuth : Admin Settings -> Application

Fill name SonarQube and fill redirect URI with 'https://mysonar.com/oauth2/callback/gitlab' (replace url).

Gitlab Add

Copy Application Id and Secret in Settings of Sonarqube.

Gitlab App

  • In SonarQube: Administration -> General Settings -> GitLab -> Authentication

Sonar Settings

Variable Comment Type
sonar.auth.gitlab.enabled Enable GitLab users to login. Value is ignored if client ID and secret are not defined
sonar.auth.gitlab.url URL to access GitLab
sonar.auth.gitlab.applicationId Application ID provided by GitLab when registering the application
sonar.auth.gitlab.secret Token of the user who can make reports on the project, either global or per project
sonar.auth.gitlab.allowUsersToSignUp Allow new users to authenticate. When set to 'false', only existing users will be able to authenticate to the server
sonar.auth.gitlab.scope Scope provided by GitLab when access user info, either global or per project, default read_user
sonar.auth.gitlab.groups Set groups, use , for multi
sonar.auth.gitlab.sync_user_groups Enable synchronization between GitLab and SonarQube groups. SonarQube users groups will be the same as GitLab's
sonar.auth.gitlab.groups Defaults groups, which will be added to SonarQube default group and syncs groups if enabled
sonar.auth.gitlab.api_version GitLab API version
sonar.auth.gitlab.user_exceptions List of usernames to keep intact (e.g. admin list), use , for multi
sonar.auth.gitlab.ignore_certificate Ignore Certificate for access GitLab, use for auto-signing cert (default false) Administration, Variable

Sonarqube

https://sonarcloud.io/dashboard?id=com.talanlabs%3Asonar-auth-gitlab-plugin

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].