Configuring External Authentication

External authentication allows your users to sign in to STEP with their existing corporate account. During user sign-in, STEP SaaS uses SAML 2.0 for authentication, for authorization through the group memberships that the IdP supplies, and for automatic provisioning of users. Stibo Systems configures the connection between the authentication broker and your IdP, and you configure a corresponding application in the IdP.

OpenID Connect can be used for user sign-in only with the limitation described below.

Supported External Authentication Capabilities

  • SAML 2.0 IdPs, for example, Microsoft Entra ID, Okta, PingFederate, Active Directory Federation Services, and Google Workspace. SAML 2.0 is the protocol Stibo Systems recommends for user authentication, authorization, and automatic provisioning of users.

  • Service provider-initiated authentication only. Users must start from the STEP URL. IdP-initiated authentication, where the user starts from a portal or application tile that posts an assertion to STEP, is not supported.

  • Automatic just-in-time (JIT) provisioning of users in STEP on first login.

  • Synchronization of group memberships and user attributes from the IdP to STEP on every login.

  • Several IdPs on the same STEP environment, refer to the Using Multiple IdPs topic.

  • Automatic redirection of users to a specific IdP, refer to the Automatically Redirecting to the IdP topic.

Note: STEP SaaS also supports OpenID Connect (authorization code flow) for user authentication, authorization, and automatic provisioning of users. Stibo Systems strongly recommends SAML. Assistance with debugging authentication issues is very limited for OpenID Connect, because it relies on server-to-server communication and tracing, and additional debugging cannot be enabled on the multi-tenant authentication brokers. SAML relies on communication through the user's browser and is much easier to debug. You may use OpenID Connect instead of SAML, but you must be able to complete the setup and the troubleshooting with little assistance from Stibo Systems. This limitation applies to user sign-in only. It does not apply to the OpenID Connect client credentials flow used for API access, which is described in the Authenticating with the STEP APIs topic.

Prerequisites

  • An administrator of your IdP and a STEP super user must be available for the setup and the test.

  • The groups that the IdP will supply must already exist in STEP. Each group ID sent by the IdP must be identical to the STEP group ID, including spelling and case. Group IDs cannot exceed 40 characters. STEP does not translate a group ID from the IdP into a different group ID in STEP. If the identifiers differ, the user is not placed in that STEP group.

  • The IdP must be able to supply a unique user identifier of no more than 40 characters, or alternate authentication must be configured, as described in the Alternate Authentication topic in the System Setup documentation.

  • If users are to be redirected to the IdP automatically, the IdP must support single logout (SLO).

  • Decide which STEP environments are in scope. Each environment (for example, development, pre-production, and production) is configured separately and requires its own application registration in the IdP.

Configuration Process

  1. Prepare. Create one or more STEP-specific groups in your directory or IdP and create the same groups in STEP with the same IDs. As a minimum, one group is needed for the users who are to access STEP.

  2. Submit a request. In the Stibo Systems Support Portal, create a request for external authentication. State the STEP systems that are in scope and the IdP you use.

  3. Setup meeting (optional). If time permits, a meeting can be arranged to go through the requirements, the prerequisites, and any questions, and to complete the setup on one or more environments. Many customers complete the setup entirely on the Support Portal ticket. That avoids scheduling across time zones and taking time from IdP administrators when a meeting is not needed. If a meeting is held, an administrator of your IdP and a STEP super user should attend.

  4. Receive the service provider metadata. Stibo Systems supplies a SAML 2.0 service provider metadata URL for each STEP environment in scope, on the Support Portal ticket. Use that URL to configure the application in your IdP. Do not construct the URL yourself.

  5. Configure the application in your IdP. Import the service provider metadata, configure the outgoing claims listed in the Claims expected by STEP section below, and assign the users and groups that are to have access. For example, refer to the Configuring Microsoft Entra ID Example topic.

  6. Return the IdP metadata. Send the federation metadata URL, or the metadata as an XML file, on the Support Portal ticket. Metadata is required for each STEP environment in scope.

  7. Activate. Stibo Systems imports the metadata into the authentication broker and confirms on the ticket that the setup is ready to be tested.

  8. Test. Open the STEP URL, select the IdP link on the login page, and sign in with a test user. Verify that the user is created in STEP and is a member of the expected groups.

  9. Request (optional). Automatic redirection and group revocation are not enabled during the metadata exchange. After a successful test, when the first login has been verified, if necessary, request group revocation. Refer to the Automatically Redirecting to the IdP and Provisioning Users and Synchronizing Groups topics.

Note: Each STEP environment has its own service provider metadata and requires its own application registration in the IdP. Run through the process for the development environment first and use the experience from that environment for pre-production and production.

Claims Expected by STEP

The IdP must send the following claims, or attributes, for the user on every login. The claims must be sent with a blank namespace.

Claim Description Required

Subject NameID

('unspecified' format)

Unique user ID. The value becomes the user ID of the STEP user and cannot exceed 40 characters.

Yes

displayname

Full name of the user, used as the name of the STEP user.

Yes

email

Email address of the user.

Yes

groups

Multivalued claim with the STEP group IDs in which the user is to be placed. Each value must be identical to a group ID in STEP, including spelling and letter case, and cannot exceed 40 characters. STEP does not translate group IDs.

Yes, for user provisioning and group synchronization

Note: Send only the groups that are relevant in STEP, for example, the groups that are assigned to the STEP application in the IdP, rather than the complete list of the security groups that a user is a member of.

Additional claims are not required for login but can be sent for description attributes on the user object in STEP. The claim name must be identical to the STEP attribute ID, and the namespace must be blank. The following example is typical:

Claim STEP Attribute ID Required

manager

manager

No

phone

phone

No

department

department

No

Note: These additional claims are used only when you have asked Stibo Systems to synchronize extra user attributes. Before that synchronization is enabled, create description attributes on the user object type using the claim name for the STEP attribute ID. Refer to the Provisioning Users and Synchronizing Groups topic.

Login Flow

Because only service provider-initiated authentication is supported, users always start from the STEP URL. If you publish STEP as an application tile in a portal, the tile must point to the STEP URL rather than post an assertion to STEP.