Skip to main content

Configure single sign-on for the Employee Hub

Set up SAML single sign-on (SSO) so employees can access the flair Employee Hub with credentials from your identity provider. This guide covers Google, Salesforce, and Microsoft Entra ID.

Who can use this?

Salesforce Admins who manage the Employee Hub and administrators for the selected identity provider.

Before you begin

  • Find your Employee Hub domain in HR AdminHub Settings.
  • Confirm that you can configure enterprise applications in Google Admin, Salesforce, or Microsoft Entra ID.
  • Use a unique entity ID for each SAML provider when your organization configures more than one provider.

Configure SAML SSO with Google

After you enable Google SAML, Salesforce can no longer send manual Employee Hub invitations. Google manages all sign-ins.

  1. In the Google Admin console, select Apps.

    Google Admin console Apps page

  2. Click SAML apps.

    SAML apps option in the Google Admin console

  3. Select Add AppAdd custom SAML app.

    Add custom SAML app option in the Google Admin console

  4. Enter the app details. Use Employee Hub as the name if you want that name to appear in your Google Admin SAML app list.

  5. Enter the following service provider details:

    FieldValue
    ACShttps://YOUR_INSTANCE.hub.flair.hr/_auth/saml/callback
    Entity IDhub
    Name ID formatUNSPECIFIED
    Name IDBasic InformationPrimary Email

    Replace YOUR_INSTANCE with the domain from your Employee Hub URL.

  6. Click Continue.

  7. Map the email attribute.

    Email mapping selection for the Google SAML app

  8. Download the Google metadata.

  9. In the flair HR app in Salesforce, open the App Launcher (⋮⋮ grid icon).

  10. Open Hub SAML Configurations.

  11. Click New.

  12. Enter a name, the Entity ID, the SSO URL, and the Certificate from Google.

    Google metadata entered in a Hub SAML Configuration record

  13. Enable the configuration. Employees can now sign in at https://YOUR_INSTANCE.hub.flair.hr/.

Configure SAML SSO with Salesforce

Configure Salesforce as the SAML identity provider, connect it to the Employee Hub, and grant users access to the connected app.

Salesforce SSO option on the Employee Hub sign-in page

Enable Salesforce as an identity provider

  1. In Salesforce Setup, enter Identity Provider in Quick Find.

    Identity Provider search result in Salesforce Setup

  2. Open Identity Provider.

  3. Click Enable Identity Provider.

    Enable Identity Provider action in Salesforce

  4. Select an existing certificate or click Create a New Certificate.

    note

    Salesforce documents the identity-provider setup in Enable Salesforce as an identity provider.

    Certificate selection for the Salesforce identity provider

Connect the Employee Hub to Salesforce

  1. In Salesforce Setup, enter App Manager in Quick Find.

    App Manager search result in Salesforce Setup

  2. Open App Manager.

  3. Click New Connected App.

    New Connected App action in Salesforce

  4. Enter an app name, such as SAML With Hub. Salesforce fills the API Name automatically.

  5. Enter a Contact Email.

    Connected app name and contact email fields

  6. Under Web App Settings, select Enable SAML.

  7. Configure the connected app fields:

    FieldValue
    Start URLYour Employee Hub URL, such as https://YOURDOMAIN.hub.flair.hr
    Entity IDAn identifier such as hub
    ACS URLhttps://YOURDOMAIN.hub.flair.hr/_auth/saml/callback
    Enable Single LogoutLeave cleared; single logout is not supported
    Subject TypeUsername
    Name ID FormatThe option ending in unspecified
    IssuerKeep the prefilled value
    IdP CertificateSelect a certificate or keep Default IdP Certificate
  8. Keep the remaining fields unchanged.

  9. Click Save. Salesforce displays a summary of the connected SAML app.

    Completed SAML settings for the Salesforce connected app

Add the Salesforce configuration to flair

  1. In the flair HR app, open the App Launcher (⋮⋮ grid icon).

  2. Open Hub SAML Configurations.

    Hub SAML Configurations in the Salesforce App Launcher

  3. Click New.

  4. Enter a name, such as Salesforce.

  5. Select Enabled.

  6. In Entity ID, enter the value from the connected app.

    Name, Enabled, and Entity ID fields on a Hub SAML Configuration

  7. In Salesforce Setup, open Identity Provider.

  8. Copy the URL next to Salesforce Identity.

  9. Open the URL in a browser to display the XML file.

  10. In the XML file, copy the last URL that ends in /HttpRedirect.

  11. In the Hub SAML configuration, paste the URL into SSO URL.

    Salesforce Identity URL used to open the SAML metadata

    HttpRedirect URL in the Salesforce SAML metadata

  12. On the Salesforce Identity Provider page, click the link next to Label.

  13. Click Download Certificate.

  14. Open the .crt file in a code editor.

  15. Copy the certificate text.

  16. In the Hub SAML configuration, paste the text into Certificate.

  17. Click Save.

    Certificate details on the Salesforce Identity Provider page

    Download Certificate action in Salesforce

    Certificate text in a Hub SAML Configuration

Grant users access to Salesforce SSO

  1. In Salesforce Setup, open Permission Sets.

  2. Click New.

    New permission set action in Salesforce Setup

  3. Enter a Label, such as SAML for Hub. Salesforce fills the API Name automatically.

  4. Optional: Enter a Description.

  5. Click Save.

    Permission set details for SAML access

  6. Under Apps, open Assigned Connected Apps.

    Assigned Connected Apps option on a permission set

  7. Click Edit.

    Edit action for assigned connected apps

  8. Add the SAML connected app to Enabled Connected Apps.

  9. Click Save.

    SAML app in the Enabled Connected Apps list

  10. In Salesforce Setup, open Users.

  11. Select the user who needs SAML access.

    User selected in Salesforce Setup

  12. Under Permission Set Assignments, click Edit Assignments.

    Edit Assignments action on a Salesforce user

  13. Add the SAML permission set to Enabled Permission Sets.

  14. Click Save. The user can sign in to the Employee Hub with Salesforce credentials.

    SAML permission set assigned to a Salesforce user

Configure SAML SSO with Microsoft Entra ID

Create an enterprise application in Microsoft Entra ID, add its SAML configuration to flair, and test employee access.

note

If your Salesforce org has multiple Employee Hubs, open the SAML SSO configuration record and set Hub to limit the login option to one Hub. Leave Hub empty to show it on every Hub.

Create the Microsoft Entra ID application

  1. In the flair HR app, open HR Admin from the navigation bar or the App Launcher (⋮⋮ grid icon).

    HR Admin in the flair HR app navigation

  2. In the left menu, click Domain.

  3. In Domain, enter your Employee Hub domain in the format YOURDOMAIN.hub.flair.hr.

  4. Click Update Domain.

    Employee Hub domain setting in HR Admin

  5. In Microsoft Azure, open Microsoft Entra ID.

    Microsoft Entra ID in Azure services

  6. In the left menu, select Enterprise Applications.

  7. Click New Application.

    New Application action in Microsoft Entra ID

  8. Click Create Your Own Application.

  9. Enter an app name, such as flair Hub.

  10. Select Integrate any other application you didn't find in the gallery (Non-gallery).

  11. Click Create.

    Non-gallery enterprise application setup in Microsoft Entra ID

Add the Microsoft Entra ID configuration to flair

  1. In the Microsoft Entra ID application, select Single Sign-On.

  2. Select SAML.

    SAML selected as the single sign-on method

  3. In Basic SAML Configuration, click Edit.

  4. Click Add Identifier.

  5. Enter a unique entity ID, such as hub.

  6. Click Add Reply URL.

  7. Enter https://YOURDOMAIN.hub.flair.hr/_auth/saml/callback with your Employee Hub domain.

  8. Optional: Enter a Sign On URL to change the sign-in page URL.

  9. Click Save.

    warning

    Each SAML provider must use a different entity ID. For multiple configurations, use values such as hub1 and hub2, and enter the matching value in Microsoft Entra ID and flair.

    Basic SAML Configuration values in Microsoft Entra ID

  10. In the flair HR app, open the App Launcher (⋮⋮ grid icon).

  11. Open Hub SAML Configurations.

  12. Click New.

  13. Enter a Name, such as Microsoft Entra ID.

  14. Select Enabled.

  15. In Entity ID, enter the identifier from Microsoft Entra ID.

    Microsoft Entra ID details in a Hub SAML Configuration

  16. In Microsoft Entra ID, copy the Login URL from Set up flair Hub.

  17. In flair, paste the URL into SSO URL.

  18. In Microsoft Entra ID, under SAML Certificates, download Certificate (Base64).

  19. Paste the downloaded certificate content into Certificate in flair.

  20. Click Save.

    SSO URL and certificate fields for Microsoft Entra ID

  21. In the flair HR app, open Home. The Setup Assistant indicates that SAML login is active.

    SAML login status in the flair Setup Assistant

Add Microsoft Entra ID users and test SSO

  1. In Microsoft Entra ID, open Users and Groups.

  2. Click Add User/Group.

    Add User or Group action in Microsoft Entra ID

  3. Select Users.

  4. Select each user who needs SAML access.

  5. Click Select.

    Users selected for the Microsoft Entra ID application

  6. In the SAML application, open Single Sign-On.

  7. Under Test single sign-on with flair Hub, click Test.

  8. Click Test Sign In.

    Test Sign In action for the Microsoft Entra ID application

  9. On the Employee Hub login screen, click Sign in with Microsoft Entra ID.

  10. Select the Microsoft account to use. The Employee Hub opens for the selected user.

    Microsoft Entra ID option on the Employee Hub sign-in page

Troubleshooting

The SSO option is missing and employees are asked for a password

Employees must use the custom Employee Hub domain after you configure SSO. The standard https://hub.flair.hr/ login page does not show your organization's SSO option.

  1. In HR Admin, open Hub Settings.
  2. Find Custom Domain.
  3. Add /login to that domain. For example, the SSO login for test-for-SSO.hub.flair.hr is https://test-for-SSO.hub.flair.hr/login.
  4. Give employees the custom login URL and ask them to bookmark it.