Connect OneLogin

Learn how to configure a connection to OneLogin via SAML

Introduction

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 an OneLogin SAML Connection, you'll need an ACS URL and a OneLogin SAML Metadata file.

WorkOS Provides

WorkOS provides the ACS URL. It's readily available in your Connection's Settings in the WorkOS Dashboard.

The ACS URL is the location an Identity Provider redirects its authentication response to. In OneLogin's case, it needs to be set by the Enterprise when configuring your application in their OneLogin instance.

Overview

Next, provide the OneLogin SAML Metadata file.

Normally, this will come from your Enterprise customer's IT Management team when they set up your application's SAML 2.0 configuration in their OneLogin admin dashboard. But, should that not be the case during your setup, the next steps will show you how to obtain it.

1

Log in

Log in to OneLogin, go to the admin dashboard, and select "Applications" in the navigation bar.

2

Select your application

Select your application from the list of applications.

3

Configure application

Select "Configuration" from the left-hand navigation:

  • Enter your ACS URL Validator e.g. ^https:\/\/auth\.workos\.com\/sso\/saml\/acs\/wz5SpShhRIcSEyMM$
  • Enter your ACS URL e.g. https://auth.workos.com/sso/saml/acs/wz5SpShhRIcSEyMM
  • Enter your application's login URL
  • Select "Service Provider" from the "SAML Initiator" dropdown menu
  • Select "Assertion" from the " SAML Signature Element" dropdown menu
4

Set up attribute mapping parameters

Select "Parameters" from the left-hand navigation and add the following field-value parameter pairs:

  • email -> Email
  • firstName -> First Name
  • id -> UUID
  • lastName -> Last Name

Check the "Include in SAML assertion" flag for each pair.

5

Upload Metadata File

Select "SSO" from the left-hand navigation.

Select the "More Actions" dropdown and click on "SAML Metadata". This will download an XML metadata file.

In the Connection Settings of the WorkOS Dashboard, click "Edit Metadata Configuration".

In the modal that pops up, upload the OneLogin Metadata file and then select "Save Metadata Configuration".

Once the file has uploaded, your Connection will then be linked and good to go!