Sonarlint connection to Sonarqube behind Okta

  • Operating system: macOS Ventura
  • SonarLint plugin version:
  • Programming language you’re coding in: Typescript
  • Is connected mode used: SonarQube

And a thorough description of the problem / question:

I’m trying to connect Sonarlint to a Sonarqube instance that is behind a Okta configured gateway. This means that the Token generated in Sonarqube will not work because the gateway will not recognize the authentication and will instead redirect to Okta authentication.

Is there a way to authenticate into Okta on Sonarlint/Intellij, or any other option to workaround this issue?

This is the error I get in Intellij:

Failed to connect to the server. Please check the configuration. Cause: Unable to parse server infos from: 
 Sign in with: 
  href="https://<company><company><token>" accesskey="1" id="idp1"> 
Okta ��� Okta

Hi @joaocpsantos

SonarLint is not able to authenticate through OAuth2 at the moment. I think this is a valid feature request, if you have the time I encourage to report your use case (with as much details as possible) here:

And to complete my answer, you can use Okta as a SAML provider for SonarQube authentication, and it should work perfectly fine with SonarLint: