# SonarQube Authentication failed

**URL:** <https://community.sonarsource.com/t/sonarqube-authentication-failed/119993>\
**Category:** SonarQube Server / Community Build\
**Tags:** sonarqube, java\
**Created:** [July 31, 2024, 2:04pm UTC](https://community.sonarsource.com/t/sonarqube-authentication-failed/119993 "2024-07-31T14:04:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shina\_adeyemi](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/shina_adeyemi/32/60125_2.png) [@shina\_adeyemi](https://community.sonarsource.com/u/shina_adeyemi)\
**Post date:** [July 31, 2024, 2:04pm UTC](https://community.sonarsource.com/t/sonarqube-authentication-failed/119993/1 "2024-07-31T14:04:03Z")

</div>

Hi Team

I have configured SonarQube for code scanning puposes (Community Edition). I have used it to scan few projects It was working fine but now it is giving Authetication Failed error. I have tried to change password through the scripts line because therea no where on the we that says forget password.

Please i need help.

---

<div class="post-metadata">

**Author:** ![Bachri\_Abdel](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/bachri_abdel/32/65565_2.png) [@Bachri\_Abdel](https://community.sonarsource.com/u/Bachri_Abdel)\
**Post date:** [August 1, 2024, 10:28am UTC](https://community.sonarsource.com/t/sonarqube-authentication-failed/119993/2 "2024-08-01T10:28:06Z")

</div>

HI @shina_adeyemi,  
You can set the defaut admin password in the database following this documentation [Security](https://docs.sonarsource.com/sonarqube/latest/instance-administration/security/#header-3)
