Okta Single Sign-On for Shelf: Setup Guide
Document Version History
Version number | Modified by | Modifications made | Date modified | Status |
1.0 | Shelf | Initial release of the document. | 7 Feb 2022 | Expired |
1.1 | Shelf | Changes and updates to the document to bring it to compliance to Shelf’s documentation standards. | 28 Jul 2022 | Expired |
1.2 | Shelf | Multiple changes, additions, and corrections to the document to reflect the current state of the Shelf and Okta integration. | 14 Dec 2023 | Active |
Document Purpose
Setting up the Single Sign-On for Shelf in Okta
Creating Shelf App in Okta
- Log in to your Okta account using your valid credentials.
- Once on the Okta Homepage, find and select the Applications menu in the navigation panel.Figure 1. Accessing the Applications menu in Okta
- In the Applications menu, select the Applications option and then click the Create App Integration button as shown in Figure 1 above.
- In the popup window that appears, select the SAML 2.0 option for your new Shelf app integration and click Next.
Figure 2. Defining the sign-in method for your Shelf app integration
- In the next window, indicate the name for your new app integration and upload an image to be displayed to your users as the app icon in Okta. You can also upload the image but choose not to show it to the users.
Figure 3. Creating the app name and icon
- Once you have entered the name and added an icon for your Shelf app integration, click Next to get to the further configuration screen.
Figure 4. Configuring SAML settings in Okta
- In this screen - Configure SAML, you need to enter Single Sign-on URL and Audience URI. To get these values, you have to go to your Shelf KMS account, navigate to Admin Panel, and open the Single Sign-On menu. In the SSO Provider field, select the Custom SAML option and you will see the Shelf SSO Settings block containing the needed values.
Figure 5. Accessing the Single Sign-On menu in Shelf
- Copy the Single Sign-on URL and Audience URI values from Shelf and paste them into the respective fields in Okta. Following that, select the needed options for the Name ID format and Application username fields. The suitable options are Unspecified or EmailAddress for Name ID format and Okta username or Email for Application username.
Figure 6. Filling in SAML-related fields in Okta
- Next, click the Show Advanced Settings button and make sure these advanced settings fields are populated as shown in Figure 7 below.
Figure 7. Configuring advanced SAML settings in Okta
- Once completed in this block of settings, scroll down to the Attribute Statements (Optional) block and make sure that its content is populated as shown in Figure 8 below.
Figure 8. Adding attribute statements values in Okta
- After completing the above steps, click Next to proceed to the last stage of the SAML configurations in Okta.Figure 9. Completing the final step of SAML configuration in Okta
- At this stage, indicate that you add an internal app and that this internal app has been created by you. Click Finish to complete the SAML configuration in Okta.
Once done, you will be redirected to your Shelf App page in Okta.Figure 10. Viewing the Shelf App page in Okta
If what you see is similar to that shown in Figure 10 above, it means that you have successfully created Shelf App in Okta and completed general SAML configurations there. Now, you need to instruct the Shelf KMS SSO feature on how to work with Okta and enable the Single Sign-On feature on the Shelf side.
Providing Okta SSO details to Shelf SSO feature
- Once on the Shelf App page in Okta, click the View SAML setup instructions button (see Figure 10 above).
- On the page that appears, view and copy the needed OKTA SSO details. Save them locally.
Figure 11. Viewing SSO details in SAML setup instructions
- Go to your Shelf instance, open Admin Panel, navigate to Single Sign-On menu, expand the SSO Identity Provider Settings block, and populate the fields there with the details you have copied from Okta. Use the following schema for this:
Identity Provider Single Sign-On URL (Okta) > IdP SSO Sign-on URL (Shelf)
Identity Provider Issuer (Okta) > SSO Issuer (IdP Entity ID) (Shelf)
X.509 Certificate (Okta) > X.509 Certificate (Shelf)
Once done, click Save.Figure 12. Populating SSO identity provider settings in Shelf
Enabling SSO in Shelf
Figure 14. Viewing the SSO page in Shelf after enabling SSO via Okta
Logging in to Shelf via Okta SSO
To be able to log in to your Shelf account via Okta, you need first to log out of Shelf. After that, you will see the following screen:
Figure 16. Logging in to Shelf using Okta SSO
Setting up OKTA SCIM for Shelf
Enabling SCIM in Shelf
Figure 17. Enabling SCIM in Shelf
Enabling and configuring SCIM in Okta
- Log in to your Okta account and navigate to the Applications menu.
- Open your Shelf App page and select the General tab. Click Edit there.
Figure 18. Accessing the editing mode for your Shelf app in Okta
Once the editing mode is active, select the Enable SCIM Provisioning checkbox. Click Save to save changes.
- Now open the Provisioning tab that has just been added. Find and click the Edit button in the open tab.
Figure 20. Editing SCIM provisioning in Okta
- When in the editing mode, fill in the highlighted fields with the relevant values. Most of these values you need to take from the SCIM tab of the Single Sign-On menu in Shelf.
Figure 21. Filling in SCIM connection details in Okta
SCIM Base URL (Shelf) > SCIM connector base URL (Okta)SCIM Bearer Token (Shelf) > Authorization Bearer (Okta)Make sure to set the Unique identifier field for users value to userName. Also, set the Authentication Mode value to HTTP Header. - Once all the details are entered, click the Test Connector Configuration button (Figure 21) to test the SCIM connection. If no errors occur, click Save.
- Go back to the Provisioning tab in your Shelf App page on Okta. Select the To App option in the left sidebar menu and then set the values in the Provisioning to App window as shown in Figure 23 below.
Figure 23. Configuring SCIM provisioning to app settings in Okta
Adding Okta users to Shelf App
- On your Shelf App page in Okta, open the Assignments tab.
Figure 24. Adding users to Shelf App in Okta
- Click Assign and select the Assign to People option in the dropdown menu. This option is valid if you want to add individual users. If you want to add groups of users, select Assign to Groups.
- In the popup window that appears, select the users you want to add to your Shelf App and click Assign next to them. After that click Done.
Figure 25. Adding individual Okta users to Shelf App
- If the user(s) is(are) added without errors, you will see them in the Assignments tab of your Shelf App page, without exclamation marks.
Figure 26. Viewing Okta users added to Shelf app
- You will also be able to see the added users in Shelf at: Admin Panel > Manage Users.
Now, you can try to log in to Shelf under one of those Okta users you have just added.