Sonarqube 8.9.6 OKTA integration - fails Email 'email' is already used

Currently we are using sonarqube login using crowd by authentecating AD, after the okta integration using the instruction SonarQube and SAML Authentication with Okta, sonarqube not allow us to login and received below error message:

  • SonarQube - 8.9.6
    Error:
    You’re not authorized to access this page. Please contact the administrator.

            Reason: This account is already associated with another authentication method. Sign in using the current authentication method, or contact your administrator to transfer your account to a different authentication method.
    

Error on web.log

failure [cause|Email ‘email’ is already used][method|OAUTH2][provider|EXTERNAL|SAML][IP|10.xx.xx.xx|2xx.2xx.1xx.1, 10.xx.xxx.xxx][login\inumber.com]
*

referring community and it looks like issues resolved on 7.2 but still having issues.

https://jira.sonarsource.com/browse/SONAR-10652

Hi,

Welcome to the community!

The error message is telling you to migrate each user to the new method. Take a look at the ‘Migrate users to a new authentication method’ topic in the docs. (That section is filed under ‘Advanced LDAP Topics’ but it applies here too.

 
HTH,
Ann