Zingtree Tags: Okta Single Sign-on

Configuring Okta Single Sign-on

Okta Single Sign-on

If you’re looking for a way to get started with securing access to your trees via Single Sign-on, you’ll first need to have an Identity Provider to manage your logins. Okta is a great service – it’s easy to set up, and very popular.  This article will show you how to get Okta and Zingtree working together.

Set Up Overview

Configuring SSO requires Okta and Zingtree to share information with each other:

  1. Okta needs information about Zingtree.
  2. Zingtree needs information about Okta.

Once you have Zingtree and Okta successfully working together, you can limit access for authors and/or employees or agents.

For the setup, we recommend keeping two browser tabs open – one in Okta, and one in Zingtree.

Configuring Okta

To start, in the Zingtree top menu, go to Account, Single-Sign-on. You’ll see something like this:

 

You can switch between setup for Agents or Authors. Switch to Author setup by clicking this:

Switch back to Agent setup by clicking:

In the above screenshot, you can see the parameters (specific to your organization) to share with Okta. Let’s use this information to set up the Okta side:

  1. If you haven’t already created a free Okta account, do it now.
  2. Go to the Okta Dashboard.
  3. Click Add Applications under Shortcuts.
  4. Click Create New App.
  5. Choose SAML 2.0 as the sign-on method, and click Create.
  6. In the General Settings, give your application a name (like “Zingtree”), and click Next.
  7. Under SAML Settings, configure it as shown below.  For the Single Sign-on URL, use Zingtree’s Login URL. For the Audience URI, use Zingtree’s Entity ID.

  8. Click Next to finish the SAML setup.

Configuring Zingtree

Now, let’s get some information from Okta:

  1. In Okta, click Applications from the top menu, and go to Applications.
  2. Click the new Zingtree application we created.
  3. Click Sign on, then View Setup Instructions. Keep this page open in a browser tab.
  4. Now go back to the Zingtree tab, and click Edit Identity Provider Data.
  5. For the Zingtree Entity ID, use the Okta Identity Provider Issuer.
  6. For the Zingtree Login URL, use the Okta Identity Provider Single Sign-On URL.
  7. Copy the Okta certificate into the Zingtree certificate field.
  8. Click Save Identity Provider Settings.

OKTA Setup for Embedding

If you’re embedding trees in another page, or using an integration via Zendesk, Salesforce, Freshdesk or other apps, you may also need to tell OKTA allow for CORS requests. OKTA describes this here.

Here’s how to setup CORS:

  1. In your OKTA admin, go to Security, API:

  2. Go to Trusted Origins, and click Add Origin:

  3. Set the origin URL to https://zingtree.com, and tick both Type options.

  4. Click Save.

Testing Your SSO Setup

Once you’ve set up your Identity Provider and Zingtree for SSO, you can test from Zingtree as follows:

  1. In Zingtree, go to Account, Single Sign-on.
  2. Click the orange Test Agent Login or Test Author Login button at the lower right of the page.

From here. you can test logging into Okta from Zingtree.  If you’re already logged in, the test will just return your email or another identifier from Okta.  If you’re not yet logged in, the Okta’s login screen will appear, and then you will be returned to the Zingtree SSO test page after logging in.

Enabling SSO for Agents/End-Users

Once everything is working, in Zingtree go to Account, Single Sign-on. Click Enable Agents:

Next,  you need to restrict access to each tree as follows:

  1. Go to My Trees, and select the tree that you want to require SSO login.
  2. Click the Settings tool, and you’ll see something like this:

  3. Check Require Single Sign-on (SSO) Login to Access.
  4. Click Update Settings.

Note: Once SSO is set up, any new trees created will have SSO required by default.

Enabling SSO for Authors

Once SSO for authors is set up and working, you’ll need to enable it as follows:

  1. Go to Account, Single Sign-on.
  2. Click Switch to SSO for Authors.
  3. Make sure Enable Authors is checked.

One More Step: You also need to add authors to your organization via Account, My Authors. They will not be required to use a Zingtree login to gain access, but this also validates them as a person who has access to your organization’s trees.

Configuring Okta for Embedding or Pop-up Overlays

By default, Okta doesn’t allow logins from iFrames. You can override this as follows:

  1. In Okta, select Settings, Customization.
  2. Make sure Allow iFrame Embedding is selected.

Any questions? Don’t hesitate to reach out

This article was originally published in 2017 and has been updated for accuracy.