InfoSec812 / sonar-auth-google

OAuth2 Authentication Plugin For SonarQube
Apache License 2.0
27 stars 25 forks source link

Setup through sonar.properties being ignored #17

Open iakat opened 5 years ago

iakat commented 5 years ago

Hello,

Similar to #10, I have been trying to setup this plugin using the $SONARQUBE_HOME/conf/sonar.properties file:

    sonar.forceAuthentication=true
    sonar.auth.googleoauth.enabled=true
    sonar.auth.googleoauth.loginStrategy=Same as Google login
    sonar.auth.googleoauth.allowUsersToSignUp=true
    sonar.auth.googleoauth.limitOauthDomain=redacted
    sonar.core.serverBaseURL=redacted
   sonar.auth.googleoauth.clientId.secured=redacted
    sonar.auth.google.clientSecret.secured=redacted

However it does not seem to do anything to configure the plugin. Is this intended? Would it be possible to implement this feature?

Thanks!

InfoSec812 commented 5 years ago

From what I know of the plugin APIs, this should work. I am overloaded with my day job right now, but I would be happy to review a PR if you have the time to find the root cause.