Sonar supports the following features:
Service Provider (SP) - Installer Authentication (SSO) flow - This authentication flow occurs when the user attempts to log in to the application from Sonar.
Identity Provider (IDP) - Initiated Authentication (SSO) flow - This authentication flow occurs when the user attempts to log in to the application from the Identity provider which is Okta in this case.
The requirements for this integration include:
You need to have an active Sonar company account to use this integration
All users need to be of the same Sonar company account
Be the administrator of your Okta account
The following steps show the configuration for setting up the OIDC integration between Sonar and Okta. Okta is the Identity Provider (IDP) and depending on the case, the user will be redirected to Okta for authentication, if no session has been established.
To configure your provisioning settings for Sonar in Okta, do the following:
Within Okta go to Applications > Applications
Then go to the App catalog
Search for “Sonarapp” and click Add.
Change the application label (or leave it as standard) as needed. Leave the default Application Visibility settings as unchecked. Click Done.
In Okta navigate to the “Sign On” tab for the Sonarapp and copy your Client ID and Client Secret.
Next you will also need to know your Okta Domain which may look something like mycompany.okta.com. Go to the Okta browser tab that you have open, and copy this portion of the URL only (include https://)(do not include -admin)
You can request an Okta integration in Sonarapp by sending an email to support <email@example.com> containing the Client ID, Client Secret and Okta domain
Could you please configure Okta SSO integration. These are our Okta credentials:
Client ID: XXXXXXXXXXX
Client Secret: YYYYYYYYYYYYYYYY
Okta domain: https://mycompany.okta.com
Once the configuration is done - you will be able to log in using your Okta account.
In the Sonarapp login screen click “Sign in with Okta”. In the provided field start typing the name of your organisation; the whole name will come up as a suggestion.
Alternatively you can launch the Sonarapp application from the “My apps” section in Okta: