pwachsmuth
(Patrick Wachsmuth)
July 28, 2022, 6:52am
1
Used Sonarqube verion: 9.5
We had a LDAP migration and the usernames changed. So I’ve changed the login/external_login and external_id to the new name.
But now the user doesn’t show up on the User Page.
It looks like it happens when I change the login.
Has anyone an idea how to proceed?
Colin
(Colin)
July 28, 2022, 6:57am
2
How did you change the usernames?
pwachsmuth
(Patrick Wachsmuth)
July 28, 2022, 7:00am
3
Directly in the database. It seems to be ok when i don’t change the login field
Colin
(Colin)
July 28, 2022, 7:04am
4
You should never directly modify the SonarQube database. It is a black-box and should be treated as such.
The proper Web API to update logins is POST api/users/update_login .
I would recommend reverting any changes you’ve made directly in the database, and use the Web API instead.
pwachsmuth
(Patrick Wachsmuth)
July 28, 2022, 7:18am
5
Thanks for the hint, I didnt find that endpoint
It worked as expected
1 Like
system
(system)
Closed
August 4, 2022, 7:19am
6
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.