LastPass

New

Learn how to configure a connection to LastPass via SAML.

Each SSO Identity Provider requires specific information to create and configure a new Connection. Often, the information required to create a Connection will differ by Identity Provider.

To create a LastPass SAML Connection, you’ll need an IdP Metadata XML file.

Start by logging in to your WorkOS dashboard and browse to the “Organizations” tab on the left hand navigation bar.

Select the organization you’d like to configure a LastPass SAML Connection for, and select “Manually Configure Connection” under “Identity Provider”.

Create New Connection in WorkOS Dashboard

Select “LastPass SAML” from the Identity Provider dropdown, enter a descriptive name for the connection, and then select the “Create Connection” button.

Create LastPass SAML Connection

WorkOS provides the ACS URL, SP Entity ID, and SP Metadata URL. They’re readily available in your Connection Settings in the WorkOS Dashboard.

WorkOS Settings

Next, provide the IdP Metadata file. Normally, this information will come from your enterprise customer’s IT Management team when they set up your application’s SAML 2.0 configuration in their LastPass admin console. But, should that not be the case during your setup, the next steps will show you how to obtain it.

Log in to LastPass, go to the admin console and select “Applications” on the top navigation. Then select “SSO apps” from the left side navigation. If your application is already created, select it from the list of applications and move to Step 2. Otherwise, select “Add app”.

Select or Create App in LastPass

In the modal that pops up, click on “Add an unlisted app”.

Add Unlisted App in LastPass

Give your SAML App a descriptive name and select “Continue”.

Add Name to App in LastPass

Under the “Set up LastPass” section of the “Configure app” modal, input the ACS URL from the WorkOS Dashboard Connection details under “ACS”. Then click on “Advanced Settings”.

Add ACS URL in LastPass SAML Settings

Under “Entity ID”, input the SP Entity ID from the WorkOS Dashboard Connection details. Next, under “SAML signature method”, select “SHA256”.

Add Entity ID in LastPass SAML Settings

Under “Signing and encryption”, ensure that you have at least selected “Sign assertion”. Then, click on “Add SAML attribute”.

Configure SAML Signing Settings in LastPass

Map the following four attributes as shown below, and select “Save & assign users”.

  • First Name → firstName
  • Last Name → lastName
  • Email → email
  • User ID → id
SAML Attribute Mapping in LastPass

On the “Users, groups & roles” page, click on “Assign users, groups & roles”.

Assign Users and Groups to App in LastPass

Search and select any users or groups that you would like to provision to this SAML app. Then, click “Assign”.

Select Users and Groups in LastPass

Click on “Save & continue”.

Save User and Group Assignments in LastPass

Back on the “SSO apps” tab of the LastPass admin console, select the SAML app that you just created.

Select SAML App in LastPass

On the “Configure app” modal, click on “Expand” to the right of “Set up app”.

Expand Set Up App in LastPass

At the bottom of the “Set up app” section, click on “Download metadata (XML)”. Save the downloaded XML metadata somewhere accessible.

Download Metadata File in LastPass

In the Connection settings in the WorkOS Dashboard, click “Edit Metadata Configuration”.

Edit Metadata Configuration in WorkOS Dashboard

Upload the XML metadata file from LastPass into the “Metadata File” field and select “Save Metadata Configuration”.

Upload Metadata File in WorkOS Dashboard

Your Connection will then be linked and good to go!