Join two saml attributes into one

Hi,

I’m using Sonar 9.9.4 LTS with SAML authentication and my identity provider returns only the following (user-related) attributes:

  • guid (8 letters)
  • email
  • userid (same value as email)
  • firstname
  • lastname

Is it somehow possible to make Sonar accept 2 attributes (firstname and lastname) into its “SAML user name attribute” property?

Unfortunatelly I cannot change the identity provider settings to make it return a proper userid…

Thanks!
Mihai

Hello @turturel and thank you for reaching out.
The SAML configuration page on SonarQube aims to match most use cases; I am sorry it does not match yours.
What Identity Provider are you using?

Hi @nour.zerhouni

Thank you for your reply!

I have no idea what identity provider my company uses - it’s a black box to me :slight_smile:

I’ve been using the “guid” value as user name attribute and have gotten used to it since I posted this question.

Would have been nice to be able to combine multiple attributes into one “user name attribute” but it’s no problem otherwise.