Authenticate SolarWinds Platform users with SAML v2
Starting with Orion Platform 2018.4, you can log in to the SolarWinds Platform Web Console using the Security Assertion Markup Language (SAML) v2 single sign-on protocol. SAML v2 is the protocol used for exchanging authentication and authorization data between the security domain (Identity Provider) and the service provider.
How to configure SAML v2 authentication in the SolarWinds Platform
- Configure the single sign-on login provider (such as AD FS or Okta) to be able to communicate with the SolarWinds Platform.
-
SAML 2.0 is an open standard. The following sections provide step-by-step instructions for configuring Active Directory Federation Services and Okta, but you can use the SolarWinds Platform SAML authentication together with a wide variety of different SAML 2.0 providers.
- Configure the Identity Provider in the SolarWinds Platform Web Console.
- Create SAML single users or SAML group user accounts for users who log in to the SolarWinds Platform Web Console using SAML v2 authentication.
Configure Active Directory Federation Services for single sign-on login to the SolarWinds Platform Web Console
Mapping AD FS to the SolarWinds Platform requires that:
- AD FS is configured on the server.
- A token encryption certificate is available.
- Service endpoint URL for the relying party trust is configured.
Step 1: Configure the Relying Party Trust
- In the Windows Server Manager, click Tools, and then select AD FS Management.
- Under Actions, click Add Relying Party Trust.
- On the Welcome page, choose Claims aware and click Start.
- On the Select Data Source page, click Enter data about the relying party manually, and click Next.
- On the Specify Display Name page, type a name in Display name. Under Notes, type a description for this party trust, and click Next.
-
Ensure that the encryption certificate for the relying party trust is empty, and then click Next.
Orion Platform 2018.4 does not support this certificate. Providing the certificate might cause issues.
Screenshots property of © 2019 Microsoft.
-
On the Configure URL page, do the following:
-
Select the Enable support for the SAML 2.0 WebSSO protocol box.
-
Under Relying party SAML 2.0 SSO service URL, type the Security Assertion Markup Language (SAML) service endpoint URL for this relying party trust, such as
https://hostname.domain/Orion/SamlLogin.aspx
, and then click Next.The SolarWinds Platform Web Console must be configured to support https.
-
- On the Configure Identifiers page, specify one or more identifiers for this relying party, such as
http://hostname
, click Add to add them to the list, and then click Next. - On the Choose Access Control Policy select a policy and click Next. For more information, see Access Control Policies in Windows Server 2016 AD FS (© 2018 Microsoft, available at https://docs.microsoft.com/en-us/windows-server/identity/ad-fs/operations/access-control-policies-in-ad-fs, obtained on August 2, 2018).
- Complete the wizard.
Step 2: Configure Claim Rules for the Relying Party Trust
When you have created the Relying Party Trust, configure Claim Rules:
- Right-click the created Relying Party Trust and select Edit Claim Issuance Policy.
- Click Add Rule.
- From the drop-down, select Send LDAP Attributes as Claims, and click Next.
- Fill in the Claim rule name and pick Active Directory as an Attribute store.
- Next fill the Mapping of LDAP attributes as follows:
LDAP Attribute Outgoing Claim Type User-Principal-Name Name ID Given-Name FirstName Surname LastName E-Mail-Addresses Email Token-Groups - Qualified by Long Domain Name OrionGroups
You have configured your AD FS to match the SolarWinds Platform requirements. Specify the Identity Provider in the SolarWinds Platform Web Console.
Step 3: Configure Additional Website
This step applies only if you have deployed additional web servers.
- In AD FS Management, right-click Relying Party Trusts, and select Properties.
- Select the Endpoints tab and click the Add SAML button.
- Set the following values and click OK.
Field Value Endpoint type SAML Assertion Consumer Binding POST Index Select a value higher than existing indexes.
Trusted URL Your SAML login URL, such as https://hostname.domain/Orion/SAMLLogin.aspx - Click Apply and then click OK.
The additional website is configured for SAML configuration in the SolarWinds Platform.
Step 4: Export the token-signing certificate from the AD FS server
- Open AD FS and navigate to Service > Certificates.
- Click the Token-signing certificate.
- In the Actions section, click View Certificate.
- Click the Details tab, click Copy to File, and then click Next.
- Select Base-64 encoded X.509 (.CER), and click Next.
- Click Browse, select a location, enter a file name, and then click Save.
- Click Next, and then click Finish.
Configure Okta for single sign-on login to the SolarWinds Platform Web Console
If prompted to switch to the Classic UI, switch to the Classic UI.
-
Log in to your Okta organization with administrative privileges.
-
Click on the blue Admin button.
-
Click Add Applications > Create New App.
-
Select the SAML 2.0 option and click Create.
-
In General Settings, type the SAML Application Name in the App name field, and click Next.
-
In the Configure SAML Setting section, make the following changes:
-
In the General section, paste the SAMLLoging URL of your SolarWinds Platform Web Console into the Single sign on URL.
Example:
https://hostname.domain/Orion/SAMLLogin.aspx
-
Enter the address of your SolarWinds Platform Web Console to Audience URI (SP Entity ID)
Example:
http://hostname
-
In the Attribute Statements section, add following attribute statements:
Name Name format Value Email Unspecified user.email FirstName Unspecified user.firstName LastName Unspecified user.lastName -
Add following to the Group Attributes Statements:
Name Name format Filter Value OrionGroups Unspecified Regex .*
-
-
If you have deployed an additional web server, configure the additional website:
- Select the Allow this app to request other SSO URLs box.
- In the Requestable SSO URLs, click Add Another, and provide the additional web server URL into the URL field. For example: https://hostname.domain/Orion/SAMLLogin.aspx
- In the Index box, provide appropriate index value.
- Click Next, and then click Finish.
- Specify users to access the SolarWinds Platform Web Console through SAML login:
- In Okta, click Assignments > Assign, and select Assign to People.
- Select users and click Assign.
- When you have selected all users, click Done.
Now configure the identity provider in the SolarWinds Platform Web Console.
Click the View Setup Instruction button in the section with Sign on methods and leave the tab open. You will need this information to configure the Identity Provider in the SolarWinds Platform Web Console.
Configure your Identity Provider in the SolarWinds Platform Web Console
- Log in to the SolarWinds Platform Web Console using an administrator account.
- Click Settings > All Settings.
- In the User Accounts section, click SAML Configuration.
- Click Add Identity Provider.
- In the Enter Orion URL step, make sure that the hostname of the SolarWinds Platform Web Console server is correct, and click Next.
Verify that the hostname of the server hosting your main website and/or additional website:
- Log in to the SolarWinds Platform Web Console hosted on your main SolarWinds Platform server using an administrator account.
- Click Settings > All Settings, and then click Web Console Settings.
- Make sure that the Orion Web Server Address field is empty or that the hostname is the same as you can see on the Prepare Identity Provider page.
- If you have deployed additional web servers, review the additional web server hostname. Repeat steps b-c for the SolarWinds Platform Web Console hosted on the additional web server.
- In Prepare IdP step, copy to clipboard the Single Sign-on URL you need to use when configuring Okta or AD FS, and use the URL accordingly.
- In the Configure step, fill in the information according to the Identity Provider:
Identity Provider Name - Name: specify how the identity provider will be displayed on the login page.
SSO Target URL (Endpoint)
Okta format:
https://dev-140035.oktapreview.com/app/solarwindsdev140035_appName_1/xyz/sso/saml
AD FS format:
https://hostname.domain/adfs/ls
Issuer (Entity ID)
Okta format:
http://www.okta.com/exkfpjshx3ZUPjCfB0h7
AD FS format:
http://hostname.local/adfs/services/trust
Public Certificate - Certificate in Base64 form
Where do I get the certificate for AD FS?
- Click Next and save the configuration.
When logging to the SolarWinds Platform Web Console, users now see an additional button Log In with Okta or Log In with AD FS, based on the Identity Provider you have defined. To enable users to log in using single sign-on, create SAML users or SAML user groups for the users.
Create a SAML user in the SolarWinds Platform
-
Log in to the SolarWinds Platform Web Console using an account with Administrator privileges.
-
Click Settings > All Settings > Manage Accounts.
-
Click Add New Account, and select SAML individual account or SAML group account.
-
For Name ID, provide the same user name you specified in the Identity Provider (AD FS or Okta). The Name ID and Identity Provider Name must match.
-
Specify what the user can access, do and the default menu bars and complete the wizard.
Users now can log in to the SolarWinds Platform Web Console by clicking the Login with Okta/AD FS button on the login page and providing their Okta or AD FS credentials.
Create SAML user groups in the SolarWinds Platform
-
Log in to the SolarWinds Platform Web Console using an account with Administrator privileges.
-
Click Settings > All Settings > Manage Accounts.
-
Click the SAML Groups tab and click Add New Group Account.
- Provide the name for the group. Use the following format for the name:
hostname.domain\Group Name.
The SAML Group and the Identity Provider Group Name must match.
-
Specify what the user can access, do and the default menu bars and complete the wizard.
Members of the SAML group can now log in to the SolarWinds Platform Web Console by clicking the Login with Okta/AD FS button on the login page and providing their Okta or AD FS credentials.
Troubleshoot SAML Login
If users cannot log in using SAML login, review the SAML log to find out more details. By default, the log is located at
C:\ProgramData\SolarWinds\Logs\Orion\SAML.log.
Test your SAML configuration
- Click Settings > All Settings > SAML Configuration, and then click Test Configuration.
- To test SAML configuration on the computer you have the SolarWinds Platform Web Console open, click Test Configuration.
- To test whether SAML login works correctly for other users on other computers, click Copy and send the link to the user who is attempting to log in using the SAML protocol from another computer. If the output is unsuccessful, instruct the user to copy it and send it to the administrator.
- The Test SAML configuration page opens with the results of the test. You can see the test sent to your Identity Provider and its response. Use the response to troubleshoot the issue or send it to your administrator.
Disclaimer: Please note, any content posted herein is provided as a suggestion or recommendation to you for your internal use. This is not part of the SolarWinds software or documentation that you purchased from SolarWinds, and the information set forth herein may come from third parties. Your organization should internally review and assess to what extent, if any, such custom scripts or recommendations will be incorporated into your environment. You elect to use third-party content at your own risk, and you will be solely responsible for the incorporation of the same, if any.