Skip to main content

Configurating SAML authentication

3 Tasks

1 hr 30 mins

Visible to: All users
Advanced Pega Platform 8.3.1 Pega Platform 8.5 Pega Platform 8.6 English


Front Stage is considering using SSO with SAML to Authenticate Operators. There are many Identity Providers available in the marketplace, and some are free services while some charge per user. Before Front Stage decides on an Identity Provider they have requested that you develop a Proof of Concept using OpenAM (Open Access Management) as the identity provider. Most Identity Providers require internet access to configure. OpenAM was selected for the Proof of Concept because it can be configured and tested in a closed system, such as a Virtual Machine, without requiring Internet connectivity. OpenAm can be downloaded from the Forgerock website here: Access Management.

The following table provides the credentials that you need to complete the challenge. This challenge requires the use of the Linux Lite VM to complete.

Role User name Password
Administrator Admin@Booking rules

Design and implement an SSO authentication scheme using SAML as a proof of concept.

  • Use OpenAM as the Identity Provider.

You must initiate your own Pega instance to complete this Challenge.

Initialization may take up to 5 minutes so please be patient.

Detailed Tasks

1 Review solution details

Install Open AM

  1. Download the ZIP file attached at the bottom of this challenge. (
  2. Extract the AM-eval- file from the ZIP file.
  3. If necessary, you can rename the AM-eval- file. 
  4. Copy the AM-eval- file into the opt\tomcat\webapps folder.
    1. Top copy the .war file, run the Terminal Emulator to get a command window.
    2. Change to the directory where the .war file is located, using the cd command. For example, if AM-eval- is on your Desktop, enter:
      cd Desktop
    3. Use the sudo cp command to copy the file to /opt/tomcat/webapps. For example, enter: sudo cp *.war /opt/tomcat/webapps 
  5. The .war file should auto-deploy. If it does not, restart Tomcat to deploy the .war file.
  6. After restarting Tomcat, use the following URL to access the OpenAm homepage: http://<host name>:<port number>/AM-eval- (for example, enter http://localhost:9080/AM-eval-

Configure OpenAM

  1. Access OpenAm to be redirected to the configuration page (http://localhost:9080/AM-eval-
  2. Create a default Configuration.
  3. Set the password to administrator.
  4. When the configuration is complete, click Proceed to login.
  5. Log in with user name amadmin using password administrator.
  6. Click New Realm to create a new Realm.
  7. Name the new Realm PegaSAML.
  8. After Creating the PegaSAML Realm, in the Realm Overview, click Configure SAML V2 Provider.
  9. In the Configure SAML V2 Provider dialog box, select Configure Hosted Identity Provider.
  10. In the Configure Hosted Identity Provider dialog box, in the Signing Key list, select test.
  11. In the New Circle of Trust field, enter PegaSAML.
  12. In the upper-right corner, click Configure.
    Create SAML
  13. When you get to the Confirmation page, click Finish.
  14. On the Realm Overview page, click Application > Federation to see your configured Identity Provider.
  15. In OpenAM, click Identities to create at least one Identity.
  16. In the Password field, enter password.
  17. In the User ID field, enter CEO@Booking.
    Pega SAML

Configure a SAML 2.0 Authentication Service in Pega Platform

To allow users to log in with single sign-on (SSO) authentication, perform the following steps to define a SAML 2.0 Authentication service.

  1. Create a new PegaSAML Authentication Service (Dev Studio > Configure > Org & Security > Authentication > Create Authentication Service).
    Create authentication service
  2. Complete the Authentication Service rule form:
    1. In the Authentication Service Alias field, enter a name that becomes part of the URL for SSO login (for example, PegaSAML).
      Edit Authentication Service
    2. Click the Import IdP metadata link.
    3. Select via URL.
    4. In the URL field, enter http://localhost:9080/AM-eval-
    5. Click Submit.
      The completed Identity Provider Information should look like the following figure:
      IDP Details
  3. On the SAML 2.0 tab, in the Service Provider settings section, select the Disable request signing check box so that the authentication service can work without certificates.

  4. On the History tab, in the Documentation section, provide a Description and Usage.

  5. Save the PegaSAML authentication service.

Register Pega as a Remote Service Provider with OpenAM

  1. On the OpenAM portal, select the PegaSAML Realm.
  2. Select Configure SAMLv2 Provider.
  3. Select Configure Remote Service Provider.
  4. Complete the Configure a SAMLv2 Remote Service Provider form.
    1. Select the PegaSAML Realm.
    2. In the Where does the metadata file reside? section, select URL.
    3. Obtain the URL for the URL where the the metadata is located: field by looking at the PegaSAML Authentication Service that you configured in Pega Platform. You can find the URL in the Service Provider settings section of the SAML 2.0 tab by clicking the Download SP metadata link and then copying the URL for the page that is displayed.
    4. The completed form should look like the following figure:
      Config SAML 2
    5. Select Configure to add Pega as a Remote Service Provider.

Configure External Authentication

  1. Open the CEO@Booking operator ID. If the CEO@Booking operator does not exist, save the mistyped COE@Booking operator ID as CEO@Booking.
  2. On the Security tab, select External Authentication

2 Confirm your work

  1. Copy the Login URL from the PegaSAML Authentication Service: http://localhost:9080/prweb/PRAuth/PegaSAML
  2. Open a different browser. For example, if you are using Chrome, open Firefox.
  3. Paste the Login URL into the web browser to access the OpenAM Login Screen.
  4. Log in with the username CEO@Booking and password as the password.

You can now seamlessly log in to Pega Platform.

3 Download the Access Manager

Available in the following mission:

If you are having problems with your training, please review the Pega Academy Support FAQs.

Did you find this content helpful?

100% found this content useful

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Academy has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice