PagerDuty offers a cloud-based incident management platform for IT departments (see https://www.pagerduty.com/). You can protect access to PagerDuty by integrating PagerDuty with Identity as a Service. Once integrated, users can use single sign-on to log in to their PagerDuty account through Identity as a Service.
Note: This integration was tested using Identity as a Service version 5.15 and PagerDuty version December 2020.Other versions of PagerDuty may require integration and configuration steps that differ from those documented in this procedure. For other versions of PagerDuty, this integration guide may be used as an initial approach for integrating PagerDuty. In the event of other issues, contact support@entrust.com for assistance.
Copy the SAML Configuration from Identity as a Service
Log into your Identity as a Service administrator account.
Click
> Security > Applications. The Applications Lists page appears.
Under SAML Cloud Integrations, click SAML Configuration. The SAML Configuration dialog box appears.
This dialog box contains information you need to configure your SAML application for Identity as a Service authentication.
Do one of the following:
Leave this dialog box open to reference later in this procedure.
Copy the Entity ID, Single Sign-on URL, and Single Logout URL to a text file and save it to reference later in this procedure.
Note: Depending on the integration you are performing, you may not need all three of these SAML configuration values.
Copy a SAML signing certificate
Log in to your Identity as a Service administrator account.
Click
> Security > Applications. The Applications List page appears.
Under SAML Cloud Integrations, click SAML Signing Certificates. The SAML Signing Certificates page appears.
Click
next to the certificate to copy it to the clipboard.
You can additionally download the certificate and save it for future use.
Open a text editor, such as Notepad, and paste the contents of the certificate into the text file.
Save the file.
Note: Be sure to same the file with the .cer extension, for example, SAML_certifcate.cer.
Configure PagerDuty for Identity as a Service
Log in to your Pager Duty account as an administrator. The Dashboard page appears.
Click your User icon and select Account Settings from the drop-down list.
Click Single Sign-On. The Login Authentication page appears.
With a text editor, such as Notepad, open the certificate file you created in Step 2: Copy the SAML signing certificate from Identity as a Service.
Copy and then paste the certificate In the X509 Certificate field of the Login Authentication page in PagerDuty.
In the Login URL field, enter the Single Sign-On URL you copied in Step 1: Copy the SAML Configuration from Identity as a Service.
In the Logout URL field, enter the Single Logout Service URL you copied in Step 1: Copy the SAML Configuration from Identity as a Service.
Deselect Require EXACT authentication context comparison.
Click Save Changes.
On the Single sign-on Login Authentication page, click the SAML radiobutton.
Copy the SAML Metadata URL and paste it into an Internet Explorer (IE) Web browser.
Copy the metadata and paste it into a text editor, such as Notepad.
Save the file in a .xml format.
Open the file in an Internet Explorer browser and confirm that the contents were saved in the correct format.
Add PagerDuty as an application to Identity as a Service
Log into your Identity as a Service administrator account.
Click
> Security > Applications. The Applications Lists page appears.
Click Add. The Select an Application Template page appears.
Do one of the following:
Select SAML Cloud Integrations from the search drop-down list and scroll to find the application you want to add to IDaaS.
- or -
In the Search bar, enter a search option to filter for the application you want to add to IDaaS.
Click PagerDuty. The Add PagerDuty page appears.
Enter an Application Name.
Enter an Application Description.
Optional. Add a custom application logo.
Click
next to Application Logo. The Upload Logo dialog box appears.
Click
to select an image file to upload.
Browse to select your file and click Open. The Upload Logo dialog box reappears showing your selected image.
If required, resize your image.
Click OK.
Select the Authentication Flow that appears to users during login.
Click Next. The General page appears.
Do one the following:
Click
to the Upload Metadata XML and browse to the location of the metadata file you downloaded. The Metadata Configuration dialog box appears.
If required, click Merge with existing values to merge new values with existing values for Alternative Assertion Consumer Services URLs and SAML attribute names.
Click Save.
-OR-
In the Default Assertion Consumer Service URL, enter
Example: https://<mycompany>.pagerduty.com/sso/saml/consume where <mycompany> is your tenant name.
In the Entity ID field, enter
Example: https://<mycompany>.pagerduty.com where <mycompany> is your tenant name.
Optional. Enter the SAML Username Parameter Name used to identity the user ID being requested for authentication. The user ID can then be passed as a parameter, for example, Username=jdoe. Alternately, if the SAML username is NameID, the SAML Request XML NameID element value is used to the identify the IDaaS userID.
Enter the SAML Session Timeout to the time when the SAML Assertion times out. The maximum is 720 minutes.
Enter the Max Authentication Age (seconds) to set the maximum amount of time that can elapse before a user is required to reauthenticate during a new login attempt. This applies for both SP-initiated and IDP-initiated login. Set this field to -1 to disable this feature.
From the SAML NameID Attribute drop-down list, select Email.
From the SAML NameID Encoding Format drop-down list, select Email.
From the SAML Signing Certificate from the drop-down list, select the certificate you added to PagerDuty in Step 3: Configure PagerDuty for Identity as a Service authentication and download the metadata.
From the SAML Signature Algorithm drop-down list, select SHA512.
Select Sign Complete URL Response.
Deselect Enable Go Back Button if you do not want users to be able to go back to the PagerDuty login page to log in.
Select Show Default Assertion Consumer URL Service in the My Profile. When selected, the Default Assertion Consumer URL appears in a user's My Profile page in addition to relay states and Alternative Assertion Consumer URLs.
Optional. Add Alternative Assertion Consumer Service URLs, as follows:
Click Add.
Enter a Name.
Enter a URL Value.
Select Show in My Profile to display the Alternative Consumer Service URL in a user's My profile page.
Optional. Add an Application Logo.
Click Add.
Repeat these steps to add more Alternative Assertion Consumer Service URLs.
Click Submit.
Step 5: Add a resource ruleStep 5: Add a resource rule
Testing Service Provider Login
Open a Web browser and enter the URL for your PagerDuty account. You are directed to Identity as a Service.
Enter your PagerDuty account User ID and click Next.
Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to PagerDuty .
Testing Identity as a Service redirect log in
Log in to your Identity as a Service account.
Go to your My Profile page if you are not already there.
Under Applications, click PagerDuty.
Respond to the second-factor authentication challenge. If you respond successfully, you are logged in to PagerDuty .