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".
Select "LastPass SAML" from the Identity Provider dropdown, enter a descriptive name for the connection, and then select the "Create Connection" button.
WorkOS provides the ACS URL, SP Entity ID, and SP Metadata URL. They're readily available in your Connection's Settings in the WorkOS Dashboard.
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".
In the modal that pops up, click on "Add an unlisted app".
Give your SAML App a descriptive name and select "Continue".
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".
Under "Entity ID", input the SP Entity ID from the WorkOS Dashboard Connection details. Next, under "SAML signature method", select "SHA256".
Under "Signing and encryption", ensure that you have at least selected "Sign assertion". Then, click on "Add SAML attribute".
Back on the "SSO apps" tab of the LastPass admin console, select the SAML app that you just created.
On the "Configure app" modal, click on "Expand" to the right of "Set up app".
At the bottom of the "Set up app" section, click on "Download metadata (XML)". Save the downloaded XML metadata somewhere accessible.
In the Connection settings in the WorkOS Dashboard, click "Edit Metadata Configuration".
Upload the XML metadata file from LastPass into the "Metadata File" field and select "Save Metadata Configuration".
Your Connection will then be linked and good to go!