Migrating from LDAP to Okta

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) - 10.3
  • how is SonarQube deployed: Helm
  • what are you trying to achieve - Migrate from LDAP to SAML (Okta)
  • what have you tried so far to achieve this - Still in planning stage

I’ve been through the documentation and a few community posts on this subject. I just have a few more questions.

  1. Do I need to comment out the LDAP configuration before I configure and start using the Okta SAML configuration or will the SAML configuration just take precedence once enabled?

  2. Do the users get prompted on initial login to migrate their account to SAML if they already have an account associated with the older LDAP config?

  3. I can use the api to migrate existing individual LDAP users over to SAML automatically, but I’m assuming I only need to do that if I don’t want them to be prompted on next login if they already exist with an LDAP association. Is that correct?

Hey there.

A button will appear that allows users to login with SAML once you’ve enabled it! And the rest of the login will fall under a “more options” button.

You, the admin, must migrate the users before they can login with SAML. SonarQube doesn’t identify the user is the same and help out. :confused: This guide I wrote should help.

@Colin Thanks for the responses. That clears it up.

  • Robert

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