Set up SAML single sign-on

Connect your identity provider so people sign in to Rework with the account they already have, and choose whether passwords still work.

If your company already runs an identity provider such as Okta, Microsoft Entra ID, Google Workspace or Keycloak, your people shouldn't need a second password to get into Rework. SAML single sign-on hands the sign-in step to that provider: someone clicks SAML SSO on the login page, authenticates where they always do, and comes back signed in. Joiners and leavers are then handled in one place instead of two. This guide walks you through the whole exchange, from collecting the details to switching it on.

Note: You'll need the App Admin role in Rework Account to open this page. SAML also has to be enabled on your deployment; if it isn't, the page opens but the configuration can't be saved.

Before you start

SAML is a two-way exchange, so you need details from your identity provider and your provider needs details from Rework. Collect these four from your provider's admin console first:

  • The IdP Entity ID (sometimes called Issuer or Identity Provider Issuer).

  • The SSO URL (Sign-on URL, SAML 2.0 Endpoint, or Login URL) as an https:// address.

  • The SLO URL, if the provider supports single logout. This one is optional.

  • The x509 signing certificate, in PEM form, including its -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.

You'll also need to know which attribute carries the user's email address, because that's what Rework matches against. Every person who will sign in this way must already exist in Rework with that same email.

Step 1: Open SAML Single Sign-On

  • Open the Account app, then Settings in the left sidebar.

  • On the System security card, click Config SAML single sign-on.

The System security card with Config SAML single sign-on

Step 2: Leave Status on Disabled while you work

The Identity provider card opens with two decisions at the top.

  1. Status turns the connection on and off. Leave it on Disabled until you've filled everything in and given your provider the Rework details from Step 5. Saving with Enabled and an incomplete form is refused with Enable requires Entity ID, SSO URL, and x509 certificate.

  2. Enforcement decides whether passwords still work:

    • Allow password sign-in alongside SAML: people can use either. Keep this while you're testing, and keep it if contractors or service accounts have no entry in your identity provider.

    • Require SAML — block password sign-in: the only way in is your provider.

Status and Enforcement at the top of the Identity provider card

Warning: Require SAML — block password sign-in applies to everyone, including you. Turn it on only after you've signed in through your provider at least once in another browser and confirmed it works.

Step 3: Enter the identity provider details

Fill in the four values you collected:

  1. IdP Entity ID: the issuer your provider identifies itself with, for example https://idp.northwind.studio/saml/metadata.

  2. SSO URL: where Rework sends people to sign in, for example https://idp.northwind.studio/saml/sso. It has to start with http:// or https://, or the page answers Must be an http(s) URL.

  3. SLO URL (optional): where Rework sends a single-logout request. Leave it empty if your provider doesn't offer one.

  4. x509 Certificate: paste the whole certificate, BEGIN and END lines included. Rework uses it to check that the responses really came from your provider, so a missing or truncated block is answered with Paste the certificate including the BEGIN/END lines.

The four identity provider fields filled in with Northwind values

Step 4: Check the NameID and attribute mapping

Most providers need no change here. Open Advanced — NameID & attribute mapping if yours does:

  • NameID format: how the subject of the assertion is identified. emailAddress by default, which is what almost every provider sends.

  • Email attribute: the name of the attribute that carries the address Rework should match a user on. email by default; some providers send mail or a full claim URI instead.

Rework matches an incoming assertion to a user by email address, so this pair is what decides whether a person is recognised.

The Advanced NameID and attribute mapping section

Step 5: Give your identity provider the Rework details

The Service provider info — paste into your IdP card at the bottom of the page holds what your provider needs. The values are worked out from your own Rework address, so copy them from the page rather than typing them:

Field on the cardWhat your provider usually calls it
ACS / Reply URLAssertion Consumer Service URL, Reply URL, or Single sign-on URL. Ends in /auth/saml/callback.
SP Entity IDService Provider Entity ID, Audience URI, or Audience Restriction. Ends in /saml/sp.
SLO URLSingle Logout URL. Ends in /auth/saml/slo.

💡 Each row has a Copy button. If your provider prefers to import a file, use Download SP metadata XML underneath and upload that instead: it carries the same three values plus Rework's own signing certificate.

Step 6: Save, test, then switch it on

  • Click Save configuration at the top right. A Saved. note appears beside the button.

  • Open the Rework login page in a private window and click SAML SSO. You should be taken to your provider and returned signed in.

  • If someone has two-factor authentication turned on, they're asked for their code after the provider returns them. See Set up two-factor authentication.

  • Once the test works, come back, set Status to Enabled and save again.

Status and the Save configuration button

Leave Enforcement on Allow password sign-in alongside SAML for a while after switching on. Move to Require SAML — block password sign-in only when every account that needs to sign in exists in your identity provider.

Every attempt, successful or not, is recorded with the method SAML SSO in System login logs, which is the fastest way to see whether a failing sign-in reached Rework at all.