Skip to main content

SAML Single Sign-On Setup with Okta

Configure Okta SAML 2.0 Single Sign-On in NetBeez NextGen, map attributes and user roles, activate SAML login, and track certificate expiration alerts.

Written by Panickos Neophytou

NetBeez NextGen (Version 20.0+) supports SAML 2.0 Single Sign-On (SSO) with Okta (and other SAML 2.0-compliant Identity Providers), allowing users to authenticate centrally with Okta policies, map Okta groups to NetBeez roles or assign a default role, and receive proactive SAML certificate expiration alerts before authentication is disrupted.

In this article:

Overview & Prerequisites

  • Administrator Access & Fallback Account: Only NetBeez Administrator users can configure SSO. Always retain at least one local email/password Administrator account so you can sign in via https://<your-netbeez-hostname>/login?auth=email to troubleshoot or rotate certificates if your Identity Provider is unreachable.

  • Unique Email per User Record: Each email address in NetBeez belongs to a single user record (either local Email or SAML). If a user already has a local account with the same email address, delete or update the conflicting local account in Settings → Users & Access → Users before they sign in via SAML.

  • Updated NextGen Callback Path: NetBeez Version 20.0+ uses https://<your-netbeez-hostname>/auth/saml/callback as its SAML Assertion Consumer Service (ACS) URL (replacing the legacy /users/auth/saml/callback path).

Step 1: Create the SAML 2.0 App Integration in Okta

  1. Sign in to your Okta Admin Console, expand Applications → Applications in the left navigation, and click Create App Integration.

  2. Select SAML 2.0 and click Next.

  3. Enter an App name (such as NetBeez) and click Next.

  4. Under SAML Settings → General, configure:

    • Single sign-on URL:https://<your-netbeez-hostname>/auth/saml/callback

    • Audience URI (SP Entity ID): Enter a unique identifier such as NetBeezSAMLSSO (you will enter this exact string in NetBeez).

    • Name ID format:EmailAddress (or Unspecified)

    • Application username:Email

  5. Under Attribute Statements (optional), map the user profile attributes below so NetBeez receives each user's unique ID, name, and email address:

Name

Name format

Value

uniqueId

Unspecified

user.getInternalProperty("id")

firstName

Unspecified

user.firstName

lastName

Unspecified

user.lastName

email

Unspecified

user.email

  1. Optional — Group Attribute Statements (Required for Role Mapping): If you want Okta group memberships to control NetBeez roles automatically, create three groups in Okta (for example, NetBeez Admin, NetBeez Read-Write, and NetBeez Read-Only), assign them to this Okta application, and add a Group Attribute Statement with Name set to groups, Name format set to Unspecified, and Filter set to Matches regex:

(NetBeez Admin|NetBeez Read-Write|NetBeez Read-Only)
  1. Click Next, complete the Okta feedback prompt, and click Finish. Ensure your users or groups are assigned on the application's Assignments tab.

  2. Open the Okta application's Sign On tab and click More Details (or View SAML setup instructions) to gather the Sign on URL, Signing Certificate (download PEM file), SHA-1 Certificate Fingerprint, and certificate expiration date.

Step 2: Configure SAML in NetBeez NextGen

Sign in to NetBeez as an Administrator and navigate to Settings → Users & Access → Single-Sign On → SAML:

Settings Users &amp; Access Single-Sign On SAML page showing SAML configuration, attribute mappings, Expires At date field, and Role Mapping controls
  1. Toggle Enabled on.

  2. Fill in the SAML connection fields:

    • Provider: Enter Okta (controls the sign-in button label on /login, displaying Continue with Okta; if left blank, the button displays Continue with Single Sign-on).

    • Entity ID: Enter the exact Audience URI / SP Entity ID configured in Okta (for example, NetBeezSAMLSSO).

    • Certificate: Open the downloaded Okta Signing Certificate file in a text editor and paste its full PEM contents.

    • Certificate Fingerprint: Paste the SHA-1 fingerprint value shown in Okta.

    • Login URL: Paste the Okta Sign on URL.

    • Expires At: Select your Okta signing certificate's expiration date (YYYY-MM-DD, must be a future date when enabled) so NetBeez warns Administrators before the certificate expires.

  3. Under Attributes, verify the attribute mappings (press Enter after adding any tag):

    • Unique Identity Attribute Map: Enter uniqueId (accepts a single attribute name).

    • First Name Attribute Map, Last Name Attribute Map, and Email Attribute Map: NetBeez pre-populates common SAML names including firstName, lastName, and email. Keep the defaults or add custom attribute names if your Okta statement uses different keys.

    • Groups Name Attribute Map: Enter groups and press Enter if enabling Role Mapping.

  4. Under Role Mapping, choose how NetBeez assigns permissions to Okta users:

    • Role Mapping Disabled (Default): Leave Role Mapping off and select a Default Role (Read only [default], Read write, or Admin). First-time SAML users receive this default role, and Administrators can change individual roles afterward in Settings → Users & Access → Users.

    • Role Mapping Enabled: Toggle Role Mapping on, confirm groups is set in Groups Name Attribute Map, and enter your exact Okta group names in Admin Group ID, Read-Write Group ID, and Read-Only Group ID (for example, NetBeez Admin, NetBeez Read-Write, and NetBeez Read-Only). When enabled, users without one of the three mapped groups are denied login, roles are synced from Okta on every sign-in, and roles cannot be edited manually in NetBeez.

  5. Click Save Settings. Remember that revoking a user's access requires removing them from both Okta (or their mapped Okta group) and NetBeez.

Step 3: Activate SAML on the NetBeez Login Page

Enabling the SAML integration prepares the provider configuration; activating it on the sign-in screen is controlled separately in Authentication settings:

  1. Click Manage Authentication in the top-right corner of the SAML Authentication card (or navigate to Settings → Users & Access → Authentication).

  2. Click the Authentication card to expand it:

Settings Users &amp; Access Authentication page showing Authorized Domains, Multi-Factor Authentication, Email Login, and SSO Provider fields
  1. In the SSO Provider dropdown, select Okta SAML (or SAML).

  2. Set Email Login to Hide Login (hides the Continue with Email button on /login while preserving local Administrator access at https://<your-netbeez-hostname>/login?auth=email) or Show Login (displays both SSO and email sign-in options), and optionally restrict allowed email domains in Authorized Domains.

  3. Click Apply. The SAML Authentication card now displays an Active badge, and your NetBeez sign-in page presents the Continue with Okta button.

SAML Certificate Expiration Warnings & MFA Behavior

  • Proactive Certificate Expiration Alerts: When Expires At is populated on an enabled SAML configuration, NetBeez enters an active warning window 14 calendar days before expiration—displaying escalating attention icons on Settings → Users & Access → Single-Sign On → SAML, delivering actionable in-app system notifications (at 14, 5, 2, and 0 days remaining with a Go To Setting shortcut), and emailing Administrators at 14 days, 7 days, and 0 days remaining (via SMTP). Saving a rotated certificate with a new future Expires At date outside the 14-day window automatically clears open expiration alerts.

  • MFA Exemption: Users authenticating through Okta SAML are governed by Okta's multi-factor policies and are not prompted for a second NetBeez TOTP code when Authenticator-app MFA is enabled.

Did this answer your question?