Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

Disable the resetting of the user's name at each login #12

Open
ghost opened this issue Mar 15, 2018 · 2 comments
Open

Disable the resetting of the user's name at each login #12

ghost opened this issue Mar 15, 2018 · 2 comments

Comments

@ghost
Copy link

ghost commented Mar 15, 2018

I have recently set up a SonarQube 6.7 LTS server for the team that I manage and we are logging in using this plugin. It works fine.

I have however noticed that the name of the user as shown in SonarQube is reset to the user's login (which is an e-mail address) every time they log in, no matter if they have changed it.

Log in once, the name is set to the e-mail address. Change the name to the user's real name. Log out. Log in again. The name is set to the e-mail address.

Is it possible to disable that resetting?

The current configuration is:

  • Google
    • Allow users to sign-up: false
    • Login generation strategy: Same as Google login
  • Security
    • Force user authentication: true

Please, let me know if more information is needed.

@InfoSec812
Copy link
Owner

So, in the code HERE you can see that the "Display Name" is being set from the Google account. I'm not sure how I would allow the manually set Display Name to be "merged" or overridden on each login. I will try to take a look.

@ghost
Copy link
Author

ghost commented Mar 22, 2018

Alright! I saw that indeed. But there's a second setName two lines below the one you referenced. Maybe that's the culprit? I'll check with our Google Admins and see whether the display names of accounts from our domain are empty or not. Thank you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant