SAML2.0: How to Connect to Okta

This article explains how to activate SSO and automatic user provisioning via the Okta identity provider.

STEP 1: Create & Configure a new Application in Okta

Create the Application:

  • If you are using the Developer dashboard, you first need to switch to the Classic UI.

Switch to Classic UI in Okta

  • Log in to your Okta organization as a user with administrative privileges.
  • Go to Applications and click Add Application.

Okta Applications page with Add Application button

  • In the next screen, click on the Create New App button.

Create New App dialog in Okta

Configure the Application:

1) General Settings:

Type in the preferred name for your app and click Next

General Settings with app name

2) Configure SAML:

Fill in the form as follows:

  • Single sign on URL: https://yourdomain/account/saml/acs
  • Audience URI (SP Entity ID): https://yourdomain/account/saml/metadata
  • Default ReplayState: this is optional, leave it blank
  • Name ID Format: unspecified
  • Application username: Okta username

Configure SAML settings in Okta

  • Attribute statements: this field mapping will be required later in setting up the SAML Connection in YAROOMS:
    • FirstName mapped to user.firstName
    • LastName mapped to user.lastName
    • Email mapped to user.email

3) Feedback

  • Select I’m an Okta customer adding an internal app and check This is an internal app that we created.
  • Finish the process and navigate to the Sign on tab. Click on View Setup Instructions.

Sign on tab with View Setup Instructions

  • A new tab will open containing the Okta settings that will be configured in YAROOMS. Leave this open.

Okta Setup Instructions page

STEP 2: Configure the SAML Connection in YAROOMS

Login to your YAROOMS domain as an administrator.

Navigate to Settings → Integrations → SAML 2.0 and start the integration process from Status. In Connection, fill in the form as follows:

  • Identity Provider: Type Okta (this is a label, any value is accepted, it will appear on the login page as “Authenticate with Okta”)
  • Issuer URL: Copy and paste the value for Identity Provider Issuer from the Okta Setup Instructions tab.
  • SAML Endpoint: Copy and paste the value for Identity Provider Single Sign-On URL from Okta.
  • X.509 Certificate: Copy and paste the entire string for the X.509 Certificate from Okta.
  • Name ID Format: unspecified
  • Attributes Mapping:
    • Map First Name to FirstName
    • Map Last Name to LastName
    • Map Email Address to Email

Use Add field to the list under Attributes mapping to add each field. Enter the attribute names configured in your Okta application in IDP field name, matching capitalization exactly. The screenshot shows an example with firstName, lastName, and email; use FirstName, LastName, and Email if you followed the attribute statements above.

YAROOMS Attributes mapping with first name, last name, and email fields

The string values from the IDP Field Name column must match those created in Okta at Step 2 - Configure SAML.

Click Save and open User options.

Under Location, choose Static and select the default location for new users. Under Team, choose Static for Group/Team mapping and select their default team. Dynamic mapping reads the location or team from a directory property instead.

SAML User options with provisioning settings and static location and team mapping

Enable Update properties at each login only if the user’s location and team should be updated to match directory values whenever they sign in.

SAVE User options and navigate to “Application details” tab.

Review the integration state on Status and complete the integration process before testing sign-in.

This tutorial does not cover user provisioning and assignment in Okta. It assumes you’re already familiar with configuring Okta settings specific to your organization’s user setup. Assigning user access to the newly configured YAROOMS app falls into this category.

Can't find what you're looking for?

Our support team is here to help. Reach out and we'll get back to you quickly.

Contact Support

We use cookies to analyze traffic and improve your experience.

Cookie preferences

Essential

Required for the site to function

Always on
Analytics

Help us understand how visitors use the site

Marketing

Used to deliver relevant ads

Talk to Sales or Support