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
Retrieve your enterprise. See Managing your enterprise for more details.
Select Administration > SSO & Provisioning. The SSO & Provisioning page opens.
In the top right corner select Edit Configuration. The Configure Your Connection page opens. Setup warnings are indicated on this page as illustrated below.

If there is a warning, open the corresponding setup assistant and follow the instructions.
The SSO's attribute mapping was changed recently. If your SSO setup was performed before this change, a warning will be displayed on this page for Single Sign-On. In that case, select Single Sign-On and follow the instructions to update your mapping in SonarQube Cloud. Check also the attribute mapping in your identity provider to make sure it matches the new SonarQube Cloud's mapping. For more information, see Create and set up the SonarQube Cloud application in your identity provider.
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.
Related pages
Last updated
Was this helpful?

