Docs menuSingle sign-on

Docs Operate

Single sign-on

Let your people sign in to Runback through your identity provider, over SAML 2.0 or OpenID Connect, with setup notes for Okta, Microsoft Entra ID, Google Workspace, OneLogin and JumpCloud.

From Enterprise

Single sign-on lets your people sign in to Runback with the account they already use at work. You connect one identity provider per workspace, in Settings › Single sign‑on. An admin sets it up; only an owner can make it the only way in.

Runback speaks both common standards. Use whichever your provider offers:

  • SAML 2.0, the usual choice for Okta, Microsoft Entra ID, Google Workspace, OneLogin and JumpCloud.
  • OpenID Connect (OIDC), for any provider with an issuer URL, a client ID and a secret.

Everything after sign-in is the same for both: the email domains you list, the default role for someone new, group-to-role mapping, SCIM provisioning and enforcement.

Set up SAML

  1. In Settings › Single sign‑on, choose SAML 2.0 as the connection type. Runback shows three values for your workspace.
  2. In your identity provider, add Runback as a new SAML app and paste those values in.
  3. Back in Runback, paste your provider's metadata URL (or the metadata XML) and select Read metadata. That fills in the provider's entity ID, sign-in URL and signing certificate. You can also type them in.
  4. List your email domains, choose the default role, turn it on and save.
  5. Assign people to the app in your identity provider, then sign in from the Runback login page with your work email.
What your identity provider asks for
An example workspace's values
Runback calls itYour provider may call itValue
Entity IDAudience URI, Identifier, SP Entity IDhttps://runback.dev/api/auth/saml/00000000-0000-4000-8000-000000000000/metadata
ACS URLSingle sign-on URL, Reply URL, Recipienthttps://runback.dev/api/auth/saml/00000000-0000-4000-8000-000000000000/acs
Metadata URLSome providers can read the two above from herehttps://runback.dev/api/auth/saml/00000000-0000-4000-8000-000000000000/metadata
Name IDName ID format, SubjectThe person's email address

The values above are an example. Yours contain your workspace's id, and they never change once you have pasted them in.

Runback sends sign-in requests with the HTTP-Redirect binding and receives the answer by HTTP-POST at the ACS URL. Your provider must sign the response, the assertion, or both. Runback does not sign its requests and does not accept encrypted assertions.

Okta

  1. Applications › Applications › Create App Integration, then SAML 2.0.
  2. Single sign-on URL: the ACS URL. Keep Use this for Recipient URL and Destination URL ticked.
  3. Audience URI (SP Entity ID): the entity ID.
  4. Name ID format: EmailAddress. Application username: Email.
  5. Finish, then on the app's Sign On tab copy the Metadata URL into Runback.
  6. Assign the people or groups who should sign in.

Microsoft Entra ID

  1. Enterprise applications › New application › Create your own application, and choose the option for an app you don't find in the gallery.
  2. Open Single sign-on and choose SAML.
  3. In Basic SAML Configuration, set Identifier (Entity ID) to the entity ID and Reply URL (Assertion Consumer Service URL) to the ACS URL. Leave the other fields empty.
  4. In Attributes & Claims, check that the email address claim is there (it is by default). If your users' mail attribute is empty, change the Unique User Identifier to user.mail or to a user principal name that is the email address.
  5. Under SAML Certificates, copy the App Federation Metadata Url into Runback.
  6. Under Users and groups, assign who may sign in.

Entra ID signs the assertion by default. That is enough.

Google Workspace

  1. Apps › Web and mobile apps › Add app › Add custom SAML app.
  2. On the identity provider details step, download the metadata and paste the XML into Runback.
  3. Set ACS URL to the ACS URL and Entity ID to the entity ID. Set Name ID format to EMAIL and Name ID to Basic Information › Primary email.
  4. Turn the app on for the people who should use it.

OneLogin

  1. Applications › Add App, then SAML Custom Connector (Advanced).
  2. On Configuration, set Audience (EntityID) to the entity ID, and Recipient and ACS (Consumer) URL to the ACS URL. Set the URL validator to match the ACS URL.
  3. Set SAML signature element to Assertion or Both, and the name ID to Email.
  4. On the SSO tab, copy the Issuer URL (its metadata) into Runback.

JumpCloud

  1. SSO Applications › Add New Application › Custom SAML App.
  2. Set SP Entity ID to the entity ID and ACS URL to the ACS URL. Set the SAML subject name ID to the email.
  3. Choose to sign the assertion, save, and export the metadata. Paste the XML into Runback.

If a provider's metadata has no HTTP-Redirect sign-in URL, Runback says so. Type the provider's sign-in URL by hand instead.

What Runback checks on every SAML sign-in

A sign-in is refused, and recorded in the sign-in log, unless all of these hold:

  • The response or the assertion carries a valid signature from a certificate you saved. An unsigned assertion is never accepted, and Runback only reads what the signature covers.
  • The assertion is for this workspace: its audience is your entity ID, and it was sent to your ACS URL.
  • It is in date, allowing two minutes of clock difference.
  • It answers a sign-in that this browser started from Runback, and that sign-in has not been answered already.
  • Its assertion has not been used before.
  • Its email is on one of your listed domains, under the same domain rules as OIDC.

Responses that declare a DTD or XML entities are refused before they are read.

Sign-in from your provider's app list

Some people start from a tile in Okta or the My Apps portal rather than from Runback. That is called IdP-initiated sign-in. It is off unless you turn on Also allow sign-in started from the identity provider's app list.

It is less secure. Such a response does not answer a request from the person's browser, so Runback cannot tell that the person meant to sign in just then. Someone who tricks a user into opening a link could sign that user into the attacker's chosen account. Runback still checks the signature, the audience, the dates and that the assertion is used once. Leave it off unless your people need the tile.

When your provider changes its certificate

Paste both the old and the new certificate while your provider rolls over, then remove the old one. Or select Read metadata again after the change. Runback reads metadata only when you ask it to, not on a schedule.

If you require single sign-on

An owner can make single sign-on the only way in for your verified domains, with one owner kept on email sign-in in case the provider is down. While that is on, only an owner can change the connection type, the provider, its certificates or the IdP-initiated setting. Roles and enforcement are described in Team.

On a self-hosted instance, the database update sql/add_saml_sso.sql must be applied before SAML can be saved. OIDC works without it.

Last updated 19 Nov 2026.