Okta SCIM Automation for JoinNow Portal Admin Access

Introduction

System for Cross-domain Identity Management (SCIM) is an open standard that automates user account provisioning and management between an identity provider (IdP) and connected applications. It eliminates the need to manually create, update, or remove user accounts in connected applications.

This guide explains how to integrate Okta, or any identity provider that supports SCIM 2.0, with the JoinNow Management Portal. The integration synchronizes user accounts and group memberships with the JoinNow Management Portal, allowing organizations to manage portal users and their assigned roles directly from their identity provider.

SAML single sign-on (SSO) continues to handle user authentication, while SCIM manages user provisioning and access. Roles can be assigned directly to individual users or mapped to SCIM groups.

Prerequisites

Before you begin, ensure the following:

  1. JoinNow Management Portal access: An administrator account with permission to edit the organization’s Authentication settings.
  2. Okta account: An Okta account with access to configure provisioning for the Okta application and push users and groups to JoinNow using SCIM 2.0.

Configuring JoinNow

JoinNow supports two user provisioning methods. By default, Just In Time Provisioning creates a user account when the user signs in for the first time and assigns a role based on the groups received from the identity provider. With SCIM Directory Provisioning, users are not created at sign-in. Instead, Okta creates and updates user accounts in JoinNow and assigns roles based on the SCIM groups mapped to JoinNow roles.

In this section, switch the organization to SCIM Directory Provisioning and generate the SCIM token that Okta uses to authenticate with JoinNow. 

Configuring this integration involves both JoinNow and Okta. To complete the core provider setup, you need the SAML metadata file from Okta, so you create the SAML application in Okta first and then return to JoinNow. 

Generate the SCIM token before you configure the SCIM connection in Okta.

At a high level, there are six main points of configuration:

  1. Adding Okta as a core provider establishes the SAML connection to Okta that authenticates users when they sign in to the JoinNow Management Portal. This section explains how to add Okta as a core provider, how to get the Entity ID and ACS URL values that Okta needs, and how to upload the Okta metadata file.
  2. Mapping Okta groups in the core provider adds your Okta groups to the core provider. This section explains how to add each Okta group as a remote group and give it a local group name in JoinNow.
  3. Enabling SCIM Directory Provisioning switches the organization from Just In Time provisioning so Okta can provision users and groups. This section explains how to select SCIM Directory Provisioning and, optionally, how to map SCIM groups to JoinNow roles.
  4. Generating the SCIM token establishes the credential that Okta uses to authenticate with JoinNow. This section explains how to generate the token and store it securely, because it is shown only once.
  5. Managing the SCIM token enables you to monitor and control the token after it is generated. This section explains how to view its status and last-used date, and how to rotate it.
  6. Switching back to Just In Time Provisioning returns the organization to the default provisioning method if you no longer want to use SCIM. This section is optional. It explains how to switch back and what to do with the active SCIM token.

Adding Okta as a Core Provider

Okta authenticates users through SAML single sign-on (SSO) when they sign in to the JoinNow Management Portal. To enable SSO, add Okta as a core provider in JoinNow. This establishes the connection between JoinNow and Okta and enables JoinNow to verify users’ identities through Okta.

NOTE: You need the metadata file from Okta for the next steps. If you have not downloaded it yet, complete the steps in the Creating a SAML Application and Downloading the Okta SAML Metadata sections, and then return here.

To add Okta as a core provider, perform the following steps:

  1. Sign in to the JoinNow Management Portal.
  2. Navigate to Integration Hub > Core Platforms.
  3. Click Add.
  4. In the Basic section, enter a name for the core provider in the Name field.
  5. In the Description field, enter a description for the core provider.
  6. From the Type drop-down list, select Okta SAML under Core Provider.
  7. Click Save. The page refreshes and displays the Configuration, Attribute Mapping, and Groups tabs.
  8. Select the Configuration tab.
  9. Under the Service Provider (SP) Info section: 
    1. Copy the Entity ID and ACS URL values.
  10. Under the Core Provider Info section:
    1. In the Metadata field, click the Choose file button to upload the metadata file obtained from Okta (refer to the Downloading the Okta SAML Metadata section).
    2. Click Upload.

Mapping Okta Groups in the Core Provider

Adding Okta groups to the core provider allows JoinNow to recognize the groups synchronized from Okta and make them available for use in JoinNow. 

To map an Okta group, perform the following steps:

  1. Select the Groups tab.
  2. Click Add.
  3. In the Local Group field, enter the name that you want to use for the group in JoinNow.
  4. In the Remote Group field, enter the name of the group exactly as it appears in Okta.
  5. Click Create.
  6. Click Update.

SCIM Directory Provisioning Setup for the JoinNow Portal

System for Cross-domain Identity Management (SCIM) is an open standard that automates user account provisioning and management between an identity provider (IdP) and connected applications. When you integrate a SCIM 2.0-compatible identity provider with the JoinNow Management Portal, user accounts and group memberships are synchronized from the identity provider to JoinNow. Organizations can then manage portal users and their assigned roles directly from the identity provider, without manually creating, updating, or removing accounts in JoinNow. SAML single sign-on (SSO) continues to handle user authentication, while SCIM manages user provisioning and access. Roles can be assigned directly to individual users or mapped to SCIM groups.

NOTE: When a new organization is created, the Internal Identity Provider is not created until a valid user completes the first successful sign-in through the organization’s domain-based login URL. Use the following URL format, replacing <domain name> with the organization’s domain name: https://cloud.securew2.com/?domainName=<domain name>

After the first successful login, the Internal Identity Provider is selected by default as the Core Provider, and the Account Provisioning option is displayed. Once a SAML identity provider is configured, it appears under Core Provider. Selecting it activates Account Provisioning, with Just In Time Provisioning selected by default.

To enable SCIM Directory Provisioning, map SCIM groups to JoinNow roles, and generate the SCIM token, perform the following steps:

  1. Navigate to General > Organization > Authentication.
  2. From the Core Provider drop-down list, select the core provider that you created for SCIM. The Account Provisioning field is activated.

    JoinNow supports two user provisioning methods, displayed in the Account Provisioning drop-down list:
    1. Just In Time Provisioning: By default, JoinNow creates a user account when the user signs in for the first time and assigns a role based on the groups received from the identity provider.
    2. SCIM Directory Provisioning: JoinNow does not create users at sign-in. Instead, the identity provider creates and updates user accounts and groups in JoinNow, and roles are assigned based on the SCIM groups mapped to JoinNow roles.
  3. Select SCIM Directory Provisioning to switch the organization to this provisioning method.
  4. (Optional) Under Roles (Optional), map the identity provider’s SCIM groups to their corresponding JoinNow roles. In the text box next to each role, enter the name of the group exactly as it appears in the identity provider. Matching is case-sensitive. Users who do not belong to any of the mapped groups are not assigned a role.
  5. In SCIM API Access, click Generate Token. The identity provider uses this SCIM token to authenticate with JoinNow.

    NOTE: Generate the token before you configure the SCIM connection in the identity provider.
  6. In the Generate SCIM Token dialog, click the copy icon next to SCIM Token and store the token in a secure location.

    NOTE: This token is shown only once and cannot be retrieved again after you close the window. An organization can have only one SCIM token at a time, and each token is specific to that organization.
  7. Click Close. The Generate Token button changes to Manage Token.
    To check or replace the token later, click Manage Token:
    1. View the token details: View the token’s Status, Created Date, and Last Used Date.
    2. Rotate the token: Click Delete, and then click OK in the confirmation prompt. Click Generate Token to generate a new token, and update the token in the identity provider.

      NOTE
      : If you lose the token, you must delete it and generate a new one to reconnect your identity provider.

Switching Back to Just In Time Provisioning

This section is optional. Perform these steps only if you want to stop using SCIM Directory Provisioning and switch the organization back to Just In Time Provisioning.

When you switch provisioning methods, JoinNow prompts you to choose what to do with the active SCIM token, which remains valid until it is revoked.

To switch back to Just In Time Provisioning, perform the following steps:

  1. On the Authentication tab, from the Account Provisioning drop-down list, change SCIM Directory Provisioning to Just In Time Provisioning, and then click Update.
  2. If you generated a SCIM token, the Revoke Active SCIM Token? dialog appears. Select one of the following:
    1. Cancel – Returns without saving.
    2. Keep Token & Save – Saves the change and leaves the token valid.
    3. Revoke Token & Save – Saves the change and permanently deletes the token.

NOTE: SCIM API Access and Manage Token are not displayed when the organization uses Just In Time Provisioning. To view or delete the token, switch the organization back to SCIM Directory Provisioning.

Configuring Okta

Okta provisions users and groups to JoinNow through a SCIM connection configured in your Okta application. In this section, you connect Okta to JoinNow using the SCIM token you generated, assign users to the application, and push the groups that map to JoinNow roles.

Once configured, changes made to these users and groups in Okta are automatically synchronized with JoinNow.

Creating a SAML Application

SCIM provisions users and their roles in JoinNow but does not store passwords. Users authenticate through Okta using SAML single sign-on (SSO). Therefore, SCIM Directory Provisioning requires an external SAML identity provider.

The SAML application enables users to sign in to the JoinNow Management Portal with their Okta credentials. Creating this application in Okta establishes the SAML connection between Okta and JoinNow.

To create a SAML application in Okta, perform the following steps:

  1. Sign in to the Okta Admin Console.
  2. Navigate to Applications and Resources > Applications.
  3. Click Create App Integration. 
  4. In the Create a new app integration pop-up window, select SAML 2.0 as the sign-in method, and then click Next.
  5. On the General Settings tab, in the App name field, enter a unique name for the application, and then click Next.
  6. On the Configure SAML tab, in the SAML Settings section, paste the ACS URL value that you copied from the JoinNow Management Portal into the Single sign-on URL field. Refer to the Adding Okta as a Core Provider section, step 9.
  7. Paste the Entity ID value that you copied from the JoinNow Management Portal into the Audience URI (SP Entity ID) field. Refer to the Adding Okta as a Core Provider section, step 9.
  8. Scroll to the bottom of the page and click Next.
  9. On the Feedback page, enter the optional details, and then click Finish.

Downloading the Okta SAML Metadata

The SAML metadata contains the information JoinNow needs to establish a SAML single sign-on (SSO) connection with Okta. In this section, you download the metadata from the SAML application that you created in Okta and save it as an .xml file. You use this metadata to integrate the JoinNow Management Portal with Okta.

To download the Okta SAML metadata, perform the following steps:

  1. Navigate to Applications and Resources > Applications.
  2. Open the SAML application that you created in the Creating a SAML Application section.
  3. On the General tab, click Edit next to SAML Settings, and then click Next.
  4. Under Configure SAML, scroll down to the Preview the SAML assertion generated from the information above section, and click Preview the SAML Assertion. The SAML assertion is displayed in a new tab.
  5. Copy the entire content, paste it into a text editor, and save it as an .xml file on your computer.

NOTE: If the error “Admin is not assigned to this app instance” appears when you click Preview the SAML Assertion, assign your administrator account to the application. Open the Assignments tab, click Assign > Assign to People, add your account, and then repeat steps 3 and 4.

Enabling SCIM Provisioning

The SAML application you created handles user authentication. To enable Okta to provision users and groups to JoinNow, enable SCIM provisioning in the same application. You connect it to JoinNow in the next section.

To enable SCIM provisioning in Okta, perform the following steps:

  1. Navigate to Applications and Resources > Applications.
  2. Open the SAML application that you created in the Creating a SAML Application section.
  3. On the General tab, click Edit next to App Settings.
  4. For Provisioning, select SCIM, and then click Save. The Provisioning tab is displayed.

Connecting Okta to JoinNow

To provision users and groups, Okta needs to know where to send them and how to authenticate with JoinNow. The SCIM connection specifies the JoinNow SCIM URL, the SCIM token you generated, the user attribute used to identify each user, and the provisioning actions Okta can perform. Once you save the connection, Okta can provision users and groups in JoinNow.

To connect Okta to JoinNow, perform the following steps:

  1. Select the Provisioning tab, click Edit next to SCIM Connection, and set the following:
    1. SCIM connector base URL – https://api.securew2.com/v1/scim
    2. Unique identifier field for users – userName
    3. Supported provisioning actions – Select Import New Users and Profile Updates, Push New Users, Push Profile Updates, and Push Groups.
    4. Authentication Mode – Select HTTP Header.
    5. Authorization – In the field next to Bearer, enter the SCIM token generated in JoinNow (refer to the Generating the SCIM Token section).
  2. Click Test Connector Configuration. The “Connector configured successfully” message is displayed, along with the provisioning features that Okta detected in the connector.
  3. Click Close, and then click Save. The Push Groups tab is displayed.

Pushing Groups to JoinNow

Pushing groups synchronizes your Okta groups and their memberships with JoinNow. 

To push groups to JoinNow, perform the following steps:

  1. In your Okta application, select the Push Groups tab.
  2. Select the groups you want to push to JoinNow. From the Push Status drop-down list, select Push now to immediately push the selected groups and their memberships to JoinNow.

    To stop pushing a group, select one of the following options from its Push Status drop-down list:

    1. Deactivate group push – Stops pushing group memberships to JoinNow without affecting existing memberships.
    2. Unlink pushed group – Stops pushing group memberships to JoinNow and optionally deletes the group from JoinNow.

Data and Monitoring

SCIM events are displayed on the Enhanced Events page, where administrators can monitor user and group provisioning activity from Okta and troubleshoot failed requests.

Whenever Okta creates, updates, or deletes a user or group in JoinNow, JoinNow records an event showing the result of the operation.

Event type

Recorded when

SCIM_USER_PROVISIONED

Okta creates a user in JoinNow.

SCIM_USER_UPDATED

Okta updates a user, including a name, role, or active status change.

SCIM_USER_DELETED

Okta deletes a user.

SCIM_GROUP_PROVISIONED

Okta pushes a new group.

SCIM_GROUP_UPDATED

Okta updates a group or changes its members.

SCIM_GROUP_DELETED

Okta deletes a group.

SCIM_GROUP_MEMBERS_UPDATED

Okta adds or removes the members of a group.

To access the Enhanced Events page, sign in to the JoinNow Management Portal and navigate to Data and Monitoring > Enhanced Events.

Troubleshooting

Issue

Cause

Resolution

Okta receives 401 Unauthorized.

The token is incomplete, deleted, or rotated, or the request path is not allowed. Paths are case-sensitive, so

/v1/scim/users is rejected. Paths such as /v1/scim/Bulk and /v1/scim/Me, and methods other than GET, POST, PUT,

  PATCH, and DELETE, are also rejected.

Confirm the token in Okta. Use only /v1/scim/Users, /v1/scim/Groups, /v1/scim/ServiceProviderConfig,

/v1/scim/ResourceTypes, or /v1/scim/Schemas, optionally followed by one id.

Requests are refused with an HTML 403 page.

The Host header includes :443.

Remove the port from the host in the SCIM base URL.

The Generate Token button is missing.

An organization can have only one SCIM token.

Click Manage Token, delete the existing token, and generate a new one.

The Account Provisioning drop-down shows Not applicable.

The Core Provider is the internal identity provider.

Configure a SAML IdP, select it as the Core Provider, and then select SCIM Directory Provisioning.

A user returns to the login page with “Something went wrong. Please try again.“

No role could be resolved. The user has no direct role and is not in a mapped SCIM group, or the user does not

exist in the organization.

Set a role on the user, or add the user to a SCIM group mapped under Roles (Optional). Confirm the group

name matches exactly, including case, and that the SCIM userName equals the UPN sent by Okta. If the issue persists, contact SecureW2 Support. Support can search the logs for Sign-in refused: no role could be resolved.

Okta receives 400 invalidValue for a role.

The role is not assignable, or the value is not a single string.

Use one of the roles listed in the prerequisites with the exact spelling and case. ADMIN, USER, internal

roles, and other organizations’ roles are rejected. An empty value clears the direct role.

A role change does not take effect.

Renaming a group or editing Roles (Optional) does not change stored roles until the user’s next sign-in.

Ask the user to sign in again. To correct access urgently, set active to false for the user.

A user is signed out with “Your session has ended because your account status or permissions have been updated

  by your administrator“.

Okta disabled or deleted the user, or changed or cleared the user’s role.

The user can sign in again if they still have a role.

A user cannot be deleted from the JoinNow Management Portal.

Users provisioned through SCIM are managed by your SCIM directory.

Remove the user in Okta.

A group update response does not include members.

The response omits members unless the request includes ?attributes=members

No action is needed. This is expected.

Some members are not added to a group.

Members must be SCIM-provisioned users of the same organization. Other IDs are skipped, and the rest of the update applies.

Provision the users through SCIM first, and then add them to the group.