{iframe:src=http://update.sonarsource.org/plugins/openid.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

This plugin enables user authentication and Single Sign-On via an OpenID provider:

Usage

The following properties must be added to SONARQUBE_HOME/conf/sonar.properties:

# This property must be set to true
sonar.authenticator.createUsers=true

# Enable OpenID plugin
sonar.security.realm=openid

# URL of OpenID provider
sonar.openid.providerUrl=https://www.google.com/accounts/o8/id

# URL of logout page
sonar.openid.providerLogoutUrl=https://www.google.com/accounts/Logout
 
# URL of SonarQube server
sonar.openid.sonarServerUrl=http://localhost:9000

# Optional properties:
sonar.authenticator.updateUserAttributes=true
# If set to 'true', at each login, user's attributes (name, email, etc.) 
# are re-synchronized. If set to 'false', user's attributes are not 
# re-synchronized except when creating the user for the first time.

Logs

Note that the library openid4java generates many INFO logs. For versions prior to SonarQube 4.1, edit the file conf/logback.xml and add the following loggers to log only warnings and errors:

<logger name="org.openid4java">
  <level value="WARN"/>
</logger>