Introduction
This document explains how to configure and manage SonarQube integration with the PureAUTH Identity Platform and make SonarQube authentication Passwordless.
Add SonarQube SAML application on PureAUTH
- Login to https://live.pureauth.io/organizations/login/
- Navigate to the Applications tab.
- Select “Add Application”.
- Select “Custom App”.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/Custom-App-300x249-1.png)
- Enter Any application Name.
- Select Primary (Corporate Email) in the Dataset for email field.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/Dataset-for-email-1.png)
- In the “SAML Response Endpoint (ACS URL)” field, enter the URL using the following pattern.
https://<IP with port/domain with port>/remote/saml/login/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/saml-response-ACS-URL-Fortigate.png)
- In “Audience (Entity ID)” field, enter the URL using the following pattern:
https://<IP with port/domain with port>/remote/saml/metadata/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/Audiene-Entity-ID-Fortigate-1.png)
- In “SAML Logout Response Endpoint (SLO URL)” field enter the URL using the following pattern:
https://<IP with port/domain with port>/remote/saml/logout/
![](https://docs.pureauth.io/wp-content/uploads/2023/08/smal-Logout-response-fortigate.png)
- Sign Assertion : Unchecked
- Custom Attributes :
- Name = Primary ( Full Name )
- Email = Primary ( Corporate Mail )
- Click on Add Application.
- Once the application is added, it will get redirected to the application detail page.
Setup SAML Configuration
- To configure SAML in SonarQube, follow these steps:
- Go to Administration tab in SonarQube.
- Click on Security.
- Now, Enable SAML support.
- Fill out the configuration as shown below:
- ProviderID = Entity ID URL (as specified on the PureAUTH application detail page).
- SAML Login URL = SAML Login URL (as specified on the PureAUTH application detail page).
- Provider Certificate = X509 Certificate (as specified on the PureAUTH application detail page).
- SAML user login attribute = Email
- SAML user name attribute = Name
- SAML user email attribute = Email
- Save Changes.
![](https://docs.pureauth.io/wp-content/uploads/2023/08/1-17-1024x723.png)
![](https://docs.pureauth.io/wp-content/uploads/2023/08/2-13-1024x729.png)
- We have configured SonarQube with PureAUTH, now to check visit your SonarQube IP address or domain and select Login with PureAUTH.
- Congratulations! You are now using SonarQube passwordless.