1. Home
  2. Integrations
  3. SAML Integration guide

SAML Integration guide

SAML, which stands for Security Assertion Markup Language, is a standardized way to handle user connections across multiple apps from one centralized user database. While this is good for the users who only need to remember one password, it is even better for multiple security reasons such as Hector not having to store any passwords or the possibility to use security features such as multi-factor authentication already configured by your organization.

How to set up SAML

There are a wide variety of software applications that implement SAML, so there might be a specific requirement missing in our configuration preventing you from making the connection work. If this is the case for you, do not hesitate to email our support team at [email protected] and we will try our best to include your requirements as soon as we can.

First, you are going to need to be connected as an admin in Hector and navigate to the Settings > Security section.

Select either the “General SAML” or “General SAML V2” authentication method.

This image has an empty alt attribute; its file name is Screenshot-2024-01-17-100415-1-1024x247.png


The difference between the two authentication methods is that the V2 has an extra signature which makes it the exchange even safer by encrypting the information. It is not required for SAML to work so if you do not wish to add this signature, simply chose the first authentication method.

On the top of the configuration section, you will see our metadata, which is an XML encoded text containing the necessary information you need to give to your SAML software in order for the connection to work (EntityId, ACS Location Url). Most software accept a copy and paste of the XML text and can automatically fill out the information. It is worth nothing that the XML text varies depending
on the authentication method chosen.

In the following image, the ACS Location Url finishes with “/security/*”, the asterisks being a wildcard. Not all software will accept wild cards. In that instance you can create two endpoints: “/security/login”, for the web application, and “/security/sso/sp” for the mobile application.

This image has an empty alt attribute; its file name is image-22-1024x290.png

The next step is to do the reverse. Usually, your software will generate its own metadata for you to give us. In this context, Hector is the SP (service provider) while you are the IDP (Identity Provider), so if the metadata contains two sections (one for the SP and one for the IDP), the following informations are going to be taken from the IDP section.

  • Single Sign On HTTP-POST Url => The “Location” value of your Single Sign On Service (HTTP-POST).
  • Single Log Out HTTP-POST Url => The “Location” value of your Single Log Out Service (HTTP-POST). (Optional)
  • Certificate => The X509 certificate.
  • Name Id Policy Format => Value of “NameIDFormat”. If unsure, put the value “urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified”.
  • Xml Format => Choose the format of the response sent by your software. If one doesn’t work, you can try the other.
  • Button Label => What label you want your users to see on the button they press to connect using SAML.
This image has an empty alt attribute; its file name is image-23-1024x342.png

User Attribute Mapping

When a user successfully authenticates on your SAML portal, some information about that user are going to be sent back to Hector so that we know which user to connect. In SAML, we call the information returned “Attributes”, which are a list of attribute name => attribute value. For example:

In Hector, we only accept the mapping of four attributes for now, which are the first name, last name, email and unique identifier. We plan to add more in the future. In the configurations, we ask for a SAML Attribute Name, which is the name or friendly name of the returned SAML attribute and there is a selector to choose to which Hector attribute you want the mapping to be done.

Once the mapping is complete and all the other informations are entered, save those configurations and you are ready to use the SAML connection. You will be able to see and test your new connection button if you logout.

This image has an empty alt attribute; its file name is image-25.png

Sending users straight to a specific page (RelayState)

Want a link on your portal or intranet to sign users in and open a specific Hector page, such as a reservation page, instead of the home page? Your identity provider (IdP) can send a RelayState along with the SAML response. Once signed in, Hector opens the page it names.

What to enter in your IdP

  • Where — on each link or application tile that should open a specific page, in the field your IdP calls RelayState, Default Relay State or Target URL.
  • Value — the full address of the Hector page, exactly as it appears in your browser’s address bar.
    Example: https://na30.app.hectorassetmanager.com/yourinstance/loaners/stockroom-name
  • Nothing else changes — the reply (ACS) address configured for Hector stays the same for every link. You can add as many direct links as you need with a single SSO configuration.

What the user gets

RelayState sentAfter signing in, the user lands on
Full address of a page of your Hector instanceThat page
Empty (no RelayState)The home page, as before
An address on another site or another Hector instanceThe home page (ignored for security reasons)
A Hector sign-in or sign-out pageThe home page

ℹ️ Note: A user who opens a Hector link while signed out is also brought back to that page after signing in through your IdP. That part needs no configuration.

ℹ️ Note: The RelayState only chooses the page that opens. It doesn’t grant any access: a user without permission on that page sees the same message as if they had opened it themselves.

Updated on November 30, 2026

Was this article helpful?

Related Articles