Enforce SAML single sign-on with OKTA

enterprise.svg

In this article, you'll learn how to set up SAML SSO with Okta, allowing you to:

  • Enable your users to be automatically signed in to Productboard using their Okta accounts.
  • Manage your accounts in one central location – Okta.
  • Change the default role settings for users managed in Okta, from contributor to admin, maker, or viewer.

To learn more about SAML app integration with Okta, take a look at this official documentation.

In this article:

Prerequisites

To get started, you'll need the following items:

How to configure and test SAML SSO with OKTA

Add Productboard to your list of managed SaaS apps

1. Log in to your Okta account and navigate to the Admin dashboard.

2. On the left navigation panel, select Applications and then select Add Application.

Screenshot_2021-04-20_at_13.14.38.png

 

4. Please don't ❌ use this Productboard application in Okta's catalog. This application will not work when setting a custom "pb_role" attribute.Screenshot_2021-04-20_at_13.29.30.png

5. Click the  Create App Integration button and set the application as the following.

Screenshot_2022-03-23_at_14.04.03.png

Screenshot_2022-09-05_at_9.18.04.png

Screenshot_2022-03-23_at_14.03.40.png

Make sure you fill the following fields correctly:

SSO URL:  https://{workspace_name}.productboard.com/users/auth/saml/callback 

you can check the option Use this for Recipient URL and Destination URL...

  • Audience URI: productboard
  • Name ID format: EmailAddress
  • Attribute statements:

pb_role: appuser.pb_role - this one is optional, if you don't plan to set different role than contributor during provisioning new users, you can skip this step

lastName: user.lastName

firstName: user.firstName

Screenshot_2021-04-20_at_14.07.14.png

6. Save new application.

Grant access for OKTA users

In this section, you'll enable your users to use Okta single sign-on by granting access to Productboard.

1. Make sure you are inside the Productboard application and click Assignments.

2. Select Assign and then select Assign to people.

Screenshot_2021-04-20_at_15.57.09.png

3. Then select assign to select the user to whom you are going to give access to Productboard using Okta.

Screenshot_2021-04-20_at_16.05.27.png

4. Then check if the email is correct and select Save and go back.

Screenshot_2021-04-20_at_15.58.36.png

5. Check if your user is Assigned and then select Done.

Screenshot_2021-04-20_at_16.08.50.png

6. The user should appear in the People filter.

Screenshot_2021-04-20_at_16.06.39.png

Note: the default role provided to users in this step is contributor – for instructions on how to change it, check out the section below.

How to change the default role for new users in Okta

1. Select Directory and then click on Profile Editor in your Okta application.

Screenshot_2021-04-21_at_13.19.40.png

2. Then, in the Productboard Profile, select Profile.

Screenshot_2021-04-21_at_15.54.41.png

3. Then click Add Attribute.

Screenshot_2021-04-20_at_16.30.28.png

4. Make sure you fill the following fields correctly:

  • Display name: PB Role
  • Variable name: pb_role
  • Check the enum checkbox with the text "Define enumerated list of values".
  • Then fill the Display name and Value fields with the following values:
    admin | admin
    maker | maker
    contributor | contributor
    viewer | viewer
  • And click Save.

Screenshot_2022-09-06_at_11.39.15.png

5. Make sure you get confirmation that the attribute pb_role has been added.

Screenshot_2021-04-20_at_16.34.31.png

6. Then we need to click on Applications and then on Productboard.

Screenshot_2021-04-21_at_16.01.54.png

7. Make sure you select Assignments in the Productboard profile and then click on the person's name for whom you would like to change the role.

Screenshot_2021-04-21_at_16.09.47.png

8. Click on Applications and then in edit.

Screenshot_2021-04-20_at_16.42.59.png

9. You should see pb_role. You can change it to the role that the user should have in Productboard and then click Save.

Screenshot_2021-04-20_at_16.43.12.png

10. Log in with this user using Okta. You will see that the user has the role.

How to configure Productboard SSO in the Productboard app

1. First, open the Sign On section in the Productboard app in Okta, then select Actions and View IdP metadataScreenshot_2022-09-06_at_11.46.28.png

2. Now you can to follow the configuration steps in this article or continue following these instructions.

3. Open the link (View IdP metadata) and Copy the URL over there.
The URL should look like this:

https://<your_okta_space>.okta.com/app/asdasdadgtrrd/sso/saml/metadata

4. Go to https://<your_workspace>.productboard.com/

5. Go to Settings under the Profile menu.

6. In the Single Sign-on section, make sure to first turn off Enforce Google apps SSO

7. Toggle on Enforce SAML SSO.

8. Select From Metadata.

9. Paste the Identify Provider Metadata URL (the one we copied in step 3) to the Manifest URL field and fill in Name OKTA - this name will be visible on the login button.

Screenshot_2021-04-21_at_16.20.17.png

10. Click Save & authorize.

11. Click the red Authorize button.

12. You will be redirected to Productboard, where you will be asked to log in under SAML SSO to finish the configuration. During this step, if configuration leads to an error, you will be able to log in to your space with "username + password" or Google SSO as you used to.

Screenshot_2021-04-21_at_16.31.42.png

How to disable SAML SSO

You can disable the SAML SSO integration at any time in the Productboard settings.

The next time members log in, those who haven't set a Productboard password will be required to reset their password to receive login instructions via email.

If you wish to delete the Productboard application from Okta, you can do it by clicking Deactivate.

Screenshot_2021-04-20_at_16.54.51.png

And then Delete.

Screenshot_2021-04-20_at_16.55.12.png

For troubleshooting issues, see the article Troubleshooting Okta issues.

See also

Was this article helpful?
1 out of 2 found this helpful

Comments

0 comments

Article is closed for comments.

Articles in this section

See more
Our Support hours:
Monday to Friday from 9:00 am - 2:00 am CET. Monday to Friday from 0:00 am - 5:00 pm PST.
Productboard Academy
Become a Productboard expert with self-paced courses, quick tip videos, webinars and more.
Product Makers Community
Connect with product leaders, share and find product jobs, and learn how to approach similar challenges. Come join our Product Makers community.