Set up single sign-on (SSO)

Use this article to add an SSO connection to Perk, choose how it behaves, and manage it after setup. SSO lets your employees sign in to Perk through your identity provider (IdP). For background on how SSO works, see SSO in Perk.

SSO is available on Premium and Pro plans.

SSO settings page

Before you start

Account admins and developers can perform this task.

Make sure that:

  • You have the admin or developer role in Perk, and admin access to your identity provider.
  • Your identity provider sends each employee's email address, first name, and last name. Perk needs all 3 to sign people in.

Adding a connection

A connection links your Perk account to an identity provider. Perk supports 3 connection types: OAuth (preset providers), SAML, and Custom OIDC (OpenID Connect).

Authentication protocol options

  1. Go to Settings > Integrations and open Single sign-on (SSO).
  2. If SSO isn't on yet, select Enable.
  3. If you already have a connection, select Add connection. The new card is titled New connection.
  4. Under Select an authentication protocol, choose a connection type:
    • OAuth: you choose your identity provider from a list, such as Okta, OneLogin, Microsoft Entra ID, or Google Workspace.
    • SAML: use it if your IT policy requires SAML, or your identity provider isn't in the OAuth list.
    • Custom OIDC: use it if your identity provider supports OIDC and isn't in the OAuth list.
  5. Follow the steps for your connection type.

When you set up SSO for the first time, Perk also creates your corporate sign-in URL. To learn more, see Adding a corporate sign-in URL below.

Managing more than one connection

Your account can hold more than 1 SSO connection at the same time. For example, you can keep a SAML connection for Okta next to an OAuth connection for Google Workspace.

  • Once you have a connection, the SSO page shows a Global settings card, then an SSO connections list. Each connection has its own card with an Active or Inactive badge.
  • Employees can sign in through any active connection on your account.
  • To add another connection, select Add connection.
Note: You can have 1 connection waiting to be completed at a time. Finish or cancel your current setup before you start another. You can also have only 1 OAuth connection for each identity provider.

Setting up a SAML connection

  1. Select SAML, then select Add connection.
  2. In your identity provider, create a SAML app. Copy the values Perk shows you, such as the ACS URL and entity ID, into the app.
  3. In Perk, enter the IdP entity ID, IdP SSO service URL, and IdP x509 cert from your identity provider.
  4. Select Authenticate.

Your SAML connection now appears on the SSO page.

SAML connection settings

Note: If you select Cancel during setup, Perk deletes the connection that was waiting to be completed.

For step-by-step instructions for your identity provider, see:

Setting up an OAuth connection

  1. Select OAuth.
  2. In the Identity provider list, select your identity provider.
  3. Select Save connection.
  4. Perk sends you to your identity provider to give consent. After you do, you return to the SSO page.

Your OAuth connection now appears on the SSO page.

OAuth connection settings

For step-by-step instructions for your identity provider, see:

Setting up a custom OIDC connection

Custom OIDC connects Perk to any identity provider that supports OpenID Connect (OIDC), including providers that aren't in the OAuth list.

Custom OIDC connection settings

For the steps, see Set up SSO for custom OIDC.

Editing a connection and its settings

Some SSO settings apply to your whole account. Others apply to each connection. You can update a saved connection at any time.

Setting Applies to
Turn on SSO Your whole account
Corporate sign-in URL Your whole account
SSO only Your whole account
Allow user creation Each connection
Allow user updates Each connection
Customize your company sign-in button Each connection

To change the settings of a connection:

  1. Go to Settings > Integrations > Single sign-on (SSO).
  2. On the card for the connection, select Edit.
  3. Change the settings you need. The sections below explain what each one does.
  4. Select Save.

Edit connection settings

Removing, turning off, or turning on a connection

To remove a connection:

  1. Go to Settings > Integrations > Single sign-on (SSO).
  2. On the card for the connection, select Edit.
  3. Select Delete connection.
  4. Confirm when Perk asks you.

To turn a connection on or off, use the toggle on its card. An on connection shows Active. An off connection shows Inactive. If it's your only active connection, Perk asks you to confirm.

Connection toggle

To turn off SSO for your whole account, select Disable on the SSO page. This removes all your SSO connections and their settings.

Warning: If you remove or turn off your last active connection, or turn off SSO for your account, employees who rely on SSO can't sign in with SSO anymore. Make sure everyone has another way to sign in to Perk first.

Requiring SSO for your account

Use SSO only so people with a company email address can sign in only through your identity providers. This includes account admins. Perk doesn't ask them for a one-time passcode.

People with external email addresses can still sign in with a one-time passcode. To learn more about passcode sign-in, see Sign in to Perk with your email address.

  1. Go to Settings > Integrations > Single sign-on (SSO).
  2. In the Global settings card, turn on SSO only.

You need at least 1 active connection to turn on SSO only.

Caution: If your account moves to a plan that doesn't include SSO, SSO only turns off.

Adding a corporate sign-in URL

This is the unique URL your company uses to sign in to Perk with SSO, for example acme.perk.com. All your connections share it.

When you set up SSO for the first time, Perk creates the URL from the email domain of the admin who sets it up. For example, if admin@acme.com sets up SSO, the URL is acme.perk.com.

Setting up SSO to create and update users

If you turn on Allow user creation, Perk creates an account the first time someone from your company signs in with that connection's identity provider. This is called just-in-time user provisioning.

Perk uses the first name, last name, and email address from your identity provider. The email address is also the username. To get an email whenever Perk creates an account this way, select Let company admins know via email when someone creates an account.

Note: Even with automatic user creation, you still need to add some user information yourself, such as cost objects and payment profiles.

With Allow user updates, Perk updates a person's first name and last name from that connection's identity provider every time they sign in. If the names differ, the identity provider's names replace the ones in Perk.

Perk doesn't update email addresses. Because the identity provider is the source of the names, change them there.

If you also use user provisioning, whichever source updates a person last sets their name. To avoid conflicts, consider turning off Allow user updates.

Warning: Turn off Allow user creation and Allow user updates on every connection if you plan to provision users with SCIM or an HR integration. Otherwise, SSO and your provisioning source can conflict and overwrite each other's changes to users. To learn more, see HR integrations and Perk SCIM for user provisioning.

Customizing your company sign-in button

Each connection has its own sign-in button on your corporate sign-in page. This setting changes the text on the button for that connection. For example, you can use a name your employees recognize, such as "Sign in with Acme".

Related articles

Was this article helpful?