SonarQube 8.6+ enforces user authentication by default.
How do I allow anonymous access since the first startup?
I am running SonarQube on a local Docker Container and I would like to automate this step. That is, I am looking for a solution not involving:
admin
, password: admin
).You could enable the anonymous access by adding the following property to the $SONARQUBE-HOME/conf/sonar.properties
file:
sonar.forceAuthentication=false
How to modify the file in Docker you can find here: https://stackoverflow.com/a/27714071/4944847