Troubleshooting SSO connection

Troubleshooting your SSO connection can be tricky. Here's a list of items to check in SonarQube Cloud and with your identity provider.

There may be several reasons why your SSO connection doesn't work properly:

  • The user entered an invalid key or you sent them an invalid login URL. See Step 3: Invite users to sign in.

  • The user is not a member of any organization in the enterprise. See Adding organization members.

  • The group synchronization failed. See Step 1: Verify the user groups.

  • The SSO configuration is incorrect.

    • Check the attribute mapping (specifically email).

    • If it still doesn’t work, check the other SSO settings and test your connection.

    • See also Checking setup warnings below.

  • You use GitHub and SSO and have configured an IP allow list in GitHub. In that case, disable the configuration in GitHub and try again.

Checking setup warnings

  1. Retrieve your enterprise. See Managing your enterprise for more details.

  2. Select Administration > SSO & Provisioning. The SSO & Provisioning page opens.

  3. In the top right corner select Edit Configuration. The Configure Your Connection page opens. Setup warnings are indicated on this page as illustrated below.

Warnings are shown on this page. Start the setup assistant and follow the instructions to address the warning.
  1. If there is a warning, open the corresponding setup assistant and follow the instructions.

triangle-exclamation

403 error on signing in via SSO

If you encounter a 403 error during SSO sign-in, it may be due to having multiple sign-on URLs configured in your identity provider. To resolve this, ensure that you configure only one sign-on URL. Use the value from the Single Sign-On URL field in the SonarQube Cloud's SSO setup assistant for this configuration. For more information, see Step 2: Configure SSO.

Last updated

Was this helpful?