User accounts
Security-relevant considerations and setups regarding user accounts.
By default, authentication is forced.
Authentication can be managed:
Via the SonarQube Server built-in users/groups database. See Creating users manually
Via several delegated authentication methods, see Authentication and provisioning for more information.
To change the password of a manually created account, see Changing user password.
To deactivate a user account, see Deactivating users.
To manage the user account permissions, see:
Disabling forced user authentication
You can disable forced user authentication, and allow anonymous users to browse projects and run analyses in your instance. To do so, you need the Administer System permission.
Disabling forced authentication can expose your SonarQube Server instance to security risks. We strongly recommend forcing user authentication on production instances or carefully configuring the security (user permissions, project visibility, etc.) on your instance. See also Accessible API endpoints if forced authentication disabled below.
We advise keeping forced authentication if you have your SonarQube Server instance publicly accessible.
To disable forced authentication:
Go to Administration > Configuration > General Settings > Security.
Disable Force user authentication.
Last updated
Was this helpful?