Can't reset the admin password after the first login

  • versions used: SonarQube -

  • error observed:

Request URL:
Request Method: POST
Status Code: 401 
Remote Address: **.***.***.**:443
Referrer Policy: strict-origin-when-cross-origin
  • steps to reproduce:
  1. run a new docker container with sonarqube image.
  2. head to the browser and login with admin/admin account/password.
  3. first time, you will be redirected to the reset password page.
  4. type the info and hit submit.

In my case I’m being redirected to the login page again. and the password doesn’t change.
I looked to the network tab at my Browser, seems the API call: /api/users/change_password returns 401

Any help?

This is not related to the change_password endpoint.
It is for all Post endpoints.

I was setting HTTPOnly in proxy_cookie_path inside Nginx conf. removing it solved the issue.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.