Security Assertion Markup Language (SAML) is an open standard that allows identity providers (IdPs), such as Rippling, to pass authentication and authorization information to service providers (SPs), such as your application. SAML is one option that apps can use to power Single Sign-On (SS0).
In this article:
Rippling supports SAML SSO capabilities. The SAML installation steps are treated as separate steps from the OAuth flow.
Once the SAML SSO capability is configured within the app listing by the partner, Rippling Admins installing your application will have the following options:
The below list represents all of the possible SAML configuration values that Rippling can generate dynamically for each Rippling company who goes through the SAML SSO installation steps for your app. These configuration values represent Rippling SAML data that can be generated to then be used in your software.
SAML Metadata URL
SAML metadata is configuration data that is required to establish trust between identity providers and service providers. Both identity providers and service providers have their own metadata, which typically provides the entity ID, redirect URL, and relevant certificates. Rippling can provide a metadata URL that dynamically hosts Rippling's identity provider configuration information on a web page. This URL is unique and different to each customer app installation. NOTE: the expectation is that your integration retrieves the SAML Metadata for each customer from the GET SAML Metadata endpoint.
SAML Metadata XML File
SAML metadata is configuration data that is required to establish trust between identity providers and service providers. Both identity providers and service providers have their own metadata, which typically provides the entity ID, redirect URL, and relevant certificates. Rippling can generate a metadata XML file that can be downloaded from Rippling by customers. This file is unique and different to each customer app installation. NOTE: the expectation is that your integration retrieves the SAML Metadata for each customer from the GET SAML Metadata endpoint.
Entity ID
A globally unique name for a SAML Identity Provider (IdP) or SAML Service Provider (SP). Unique IdP entity IDs are generated for each Rippling customer for each integrated application instance.
Assertion Consumer Service (ACS) / Single Sign-on URL / Target URL
An ACS URL is the third-party application's URL that will receive and digest SAML messages from the Identity Provider. This represents the URL endpoint of Rippling as an IDP. Note: this URL is unique and different to each customer app installation.
X.509 Certificate
X.509 certificates are trust anchors that allow you to verify signatures and establish trust in the SAML message exchanged between the IdP and SP. Supported certificates include .cert and .pem. Customers can download certificates from Rippling as necessary. Customer can also copy certificates from Rippling so that they can paste them somewhere else as necessary. Note: this certificate is unique and different to each customer app installation.
The below list represents all of the possible SAML configuration values that Rippling can ingest from your software in order to set up SAML SSO. Rippling can create instructions that allow customers, as part of the SAML SSO installation flow, to copy/upload SAML configurations into Rippling as necessary.
Rippling can configure SAML attributes as needed. If your app requires SAML attributes to be configured the same for every single customer, this can be done within the app listing directly.
Global SAML Attributes vs Group SAML Attributes
Global SAML attributes are SAML attributes that are configured in your app once and are then used for every single customer who set ups SAML SSO. Using global SAML attributes guarantees that each Rippling company will use the exact same SAML attributes.
Group SAML attributes are configured within each app installation flow. They are optional and do not have to be configured by the customer. Group SAML attributes allows customers to add additional SAML attributes that are not included in the Global attributes. It enables customization of SAML attributes by customer.
Rippling SAML also supported Advanced SAML settings in case there are custom configurations required. Typically these advanced SAML settings do not require changes, but they are available in case exceptions are encountered. If you'd like to configure these SAML settings, this can be done within the app listing directly.
Default Name ID format to be used
This field defines the name identifier format that will be used to communicate with the application regarding a user. The default value configured is urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
Default Relay State
The default relay state provides the application with instructions on where to send users once they've successfully logged in. The default value configured is null.
Sign response
Certain applications require SAML responses to be signed. If this is the case, check this box to sign the response with the signing algorithm. If this is unchecked, only assertions will be signed. The default value configured is YES.
Signing algorithm
This algorithm is used in conjunction with the X.509 certificate and is used to sign the assertion. If Sign Response is checked, this algorithm will also be used to sign the SAML response. The default value configured is http://www.w3.org/2000/09/xmldsig#rsa-sha1
Digest algorithm for assertions
The digest algorithm is used to calculate the digest of the SAML Assertion or response. This is a part of the validation process to ensure the integrity of the SAML message. The default value configured is http://www.w3.org/2000/09/xmldsig#sha1.
Encrypt assertions
Certain applications require SAML assertions to be encrypted. If this is required by the application, check this box and Rippling will encrypt the SAML assertions it emits for that application using the public key in the field below. The default value configured is NO.
Service provider's public key to encrypt assertions
Certain applications require SAML assertions to be encrypted. If this is required by the application, Rippling will encrypt the SAML assertions it emits for that application using this public key. The default value configured is null.
Disable 'InResponseTo' field in assertions for IDP initiated SSO
The 'inResponseTo' field is primarily used within login flows initiated from the application. If this field is not disabled, then Rippling will send a dummy value as a placeholder for this field. The default value configured is NO.
Disable automatic standardization of attributes
Rippling will automatically replace attribute names with their standard names when available. If this field is checked, Rippling will not modify the attribute names according to available standards. The default value configured is NO.
Use SAML standard namespaces for xml metadata/assertions
If this field is marked as true, Rippling will use the SAML defined standards for XML namespaces. It is recommended that this field is checked. The default value configured is NO.
Application only supports login initiated from the application, also referred to as SP initiated flow
In the case that an application only supports login initiated from the application, Rippling will enable you to push employees to the application's login page to begin the SSO process. In these cases, the Rippling dashboard will push users to the application to then begin the SSO process. The default value configured is NO.
As part of the SAML SSO installation steps, you can create and add customized instructions for your app that guide customers through how they can set up SAML SSO. Rippling can generate dynamic values for each Rippling company with instructions for the customer to either email the value to your SSO support team or guide the customer on how to copy the values from Rippling and paste them into their own environment in your software.
Rippling SAML instructions allow you to do the following:



A couple of considerations about instructions steps:
You can add inputs to your SAML instructions so customers, if needed, can copy and paste or upload their SAML information into Rippling.
Each step can only have one input field at a time. So if you need multiple input fields you must create multiple instruction steps.

Sometimes SAML information has a customer-specific parameter tied to each the SAML information. For example, if you have a concept of "organization" that is tied to every customer's tenant and URLs, then your SAML Entity ID and ACS URL might look something like this:
https://sample.com/{OrganizationCode}/entity
https://sample.com/{OrganizationCode}/acs
Instead of creating two separate instruction steps to insert the Entity ID and ACS URL, you could instead create one instruction step to let the customer just input the Organization Code value. To do this:
INFO
If the Input Field Dropdown is a different option from other, the Input Field Name field will not populate and will not need to be specified.
Now that you have created the mechanism for the customer to insert their parameter, you need to configure that parameter in your SAML. Click the Edit button in the Additional Setup Data.


Now, when a customer inputs the single value into the OrganizationCode input field, that value will then propagate to both your ACS URL and Entity ID.
If you need a customer to have to manually fetch their SAML information from Rippling and paste it into your software, or send it to your support team, you can insert Rippling variables into your instructions step.
NOTE: This should only be used if you have received an exception from Rippling to not use the GET/saml_metadata endpoint Rippling supports today.

Please ensure that each variable must is wrapped. All variables must be wrapped.
Hardcoded SAML configurations within the app listing enable you to configure static SAML settings that would be applied across every customer installing your application.
To configure this, you'll:


Input the necessary SAML information, which can include one of the following combinations:

Users in Rippling with access to your Rippling app should be able to click the SSO tile from their Rippling home screen and be automatically signed in to your software. Once an app is installed with SSO enabled, Rippling will add your app to the Rippling Home page to allow users to easily SSO into the app by clicking on your app's tile in Rippling. The Rippling-initiated SSO flow should not require the user to have to input any information manually in the 3rd-party.
The 3rd-party must add a "Login with Rippling" or a "Sign In with Rippling" or a "Rippling" button to enable users to sign in using Rippling as their IDP. By clicking this button in your software, users should be taken thru the SP-Initiated SSO flow with Rippling. The SP-initiated SSO flow should not reuqire the user to have to input any information manually in order to sign in.
INFO
Note: A button is not required if the third-party supports logins via SAML/a redirect by the user entering in the email address that's tied to their account.
To set up a SAML SSO integration, two items need to be completed:
For item #1 above, see the REQ19 requirement below. For item #2, see the REQ20 requirement below.
When a customer completes the SAML SSO installation flow for your app in Rippling, your integration must automatically fetch and use the SAML Metadata made available from Rippling for that app installation. You must use the GET/SAML Metadata endpoint to retrieve the SAML metadata information from Rippling.
To do this your app must have access to the following scopes:
saml:idp_metadata
employee:saml
You can use this endpoint after the customer completes the installation flow (OAuth flow) from Rippling and you have received an access token that is specific to the Rippling company and app install of the company.
The GET/SAML Metadata endpoint should provide to you all of the SAML configuration values from Rippling that you require from each customer. Customers should not have to input or send any SAML information to you about their Rippling company to enable SAML as all of the information you require should be available from the APIs.
It is critical to understand that Rippling SAML Metadata is unique to each customer installation of your app!
If the SAML metadata will be the same for all customers installing your application, you will want to create a static SAML configuration. With these settings, you can hardcode information such as ACS Url, entity ID, metadata URL, or metadata.
If the appn listing will have different SAML metadata for each customer installing the application, you can choose to create custom SAML instructions. This would allow you to create input fields where customers could copy and paste the varying SAML metadata information during the application's installation flow.
Additionally, you could create SAML instructions that guide each customer through how they contact your support organization to retrieve their SAML metadata information.
There is currently no API endpoint or webhook which would notify you when a customer has enabled SAML SSO within your application. Because of this, the service provider should be the source of truth for this information. As part of the SAML SSO setup, the customer must enable this capability within the SP's system, which will, in turn, mean it has been turned on within Rippling.
You can use the Rippling Custom SAML App Editor to test and build the SAML SSO connection as needed. You can configure the SAML settings in Rippling as you need and you can manually configure the SAML settings in your software from Rippling. This enables you to troubleshoot any of the SAML advanced settings as you require.
That is fine and is expected behavior. While Rippling requires that your integration supports SSO (via SAML as one option), Rippling does not require that customers set up SAML SSO with your integration. During the app installation flow, customers have the option to turn SAML SSO on or leave it off. Customers can choose to skip the SAML SSO flow during the initial app installation. They can navigate to the Setups tab of your app to turn on SAML SSO at any point.
To map dynamic SAML attributes, such as user's first name, last name, etc, this can be done in within the app listing's capabilties.
Single sign-on will first need to be toggled on in the Capabilties > Capabilities setup tab, and then you'll go to Capability settings > select SAML > Add/Edit SAML Instructions. From here, you can select + Add attribute and create/map SAML attributes as needed.

INFO
One thing to note is that even though the "email" attribute is already sent in the SAML response, there is the option to map this same attribute to different fields (which is why user.email is available within the value map dropdown).
For troubleshooting SAML SSO issues, please see this Help Center article.
It's important to remember that the metadata is unique to each installation of the application. If the app has been recently uninstalled and reinstalled, for instance, you'll need to refresh the SAML metadata. Utilize the aforementioned article to extract the SAML assertion, which can then be shared with your Service Provider (SP) to interpret the information contained within the metadata file.
CHECK
If you're a partner seeking answers or encountering difficulties while integrating with Rippling, please contact us at partner.support@rippling.com. Ensure our responses reach you by preventing emails from this address from being filtered into your spam folder.