1. Guides
Rippling APl
  • CUSTOMERS
    • Getting Started for Customers
      • Introduction for Customers
  • PARTNERS
    • Apply
      • Apply to the Rippling App Shop
    • Getting Started for Partners
      • Introduction for Partners
      • Partner Requirements
      • Pricing
      • Partner Process
      • Partner Support
      • Partner Announcements
    • Guides
      • Scopes Guide
      • Installation (OAuth) Guide
      • User Management Guide
      • OpenID Connect SSO Guide
      • SAML SSO Guide
      • Webhooks Guide
      • Errors Guide
      • Group Management Guide
      • Rippling Brand Guide
    • Legal
      • Terms of Use
  • APIS
    • API Reference
      • A. Companies
        • GET Current Company
          GET
        • GET Departments
          GET
        • GET Work Locations
          GET
        • GET Custom Fields
          GET
        • GET Teams
          GET
        • GET Levels
          GET
        • GET Company Leave Types
          GET
        • GET Company Activity
          GET
      • B. Employees
        • GET Employees
          GET
        • GET Employee
          GET
        • GET Employees (Including Terminated)
          GET
      • F. Groups
        • GET Group
          GET
        • POST Groups
          POST
        • PUT Group
          PUT
        • GET Groups
          GET
        • PATCH Group
          PATCH
        • DELETE Group
          DELETE
      • G. SAML
        • GET SAML Metadata
          GET
      • E. Current User
        • GET Current User
          GET
      • H. ATS
        • POST New Candidate
          POST
      • I. Application Management
        • Mark App Installed
          POST
      • J. Leaves
        • GET Leave Balance
          GET
        • POST Leave Request
          POST
        • GET Leave Balances
          GET
        • GET Leave Requests
          GET
        • POST Cancel Leave Request
          POST
        • POST Process Leave Request
          POST
        • PATCH Leave Request
          PATCH
  • Schemas
    • WorkLocation
    • Level
    • Event
    • Group
    • Department
    • Team
    • CustomFieldMeta
    • GroupUpdatePayload
    • LeaveBalances
    • Candidate
    • Address
    • Company
    • CompanyLeaveType
    • Authenticated-User-(Me)
    • Entities
    • Employee
    • LeaveRequest
    • CustomFields
  1. Guides

OpenID Connect SSO Guide

The OpenID Connect (OIDC) is an identity layer built on top of OAuth 2.0 framework. OIDC-based SSO is one of two SSO options supported by Rippling.
If OIDC SSO is configured for the app listing, all customers must enable it during their initial integration setup.

Requirements#

REQ17: Rippling-initiated SSO flow (IDP-Initiated SSO).#

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.

REQ18: 3rd-party initiated SSO flow (SP-Initiated SSO).#

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.

REQ21: IDP-initiated SSO flows (Rippling-initiated) and SP-initiated SSO flows must both be supported by using the SP-Initiated SSO flow.#

At this time, Rippling only supports SP-initiated OIDC-based SSO flows. Rippling does not support IDP-initiated OIDC-based SSO flows. To handle IDP-initiated OIDC-based SSO flows, please use a SSO URL that links to a URL on the SP that triggers the OIDC-based SSO flow on the SP and immediately redirects back to Rippling with the first leg of OIDC. From the user's POV, this appears like an IDP-initiated flow. Note: we support multiple redirect URLs.

How the OIDC SSO Flow Works#

The OIDC flow should only be used after your app is installed in Rippling. The OIDC flow should only be used to enable users to single sign-on from Rippling to your software or vice-versa. The OIDC authorize endpoint should not be used as part the initial app installation flow or integration set up.
Please first read the Installation Guide to understand how to configure your app installation flow, redeem an authorization code for access & refresh tokens, complete and mark the app as installed in Rippling, and successfully gain access to call Rippling APIs for a Rippling company.
As part of the initial installation flow, the Rippling company admin will grant authorization and consent to the scopes configured in your app. As part of those scopes, openid will need to be included to grant your app access to use Rippling's OIDC functionality.
Once you have your installation flow working and your app installed, you can then use the OIDC authorize flow anytime a user wants to SSO from Rippling to your software or from your software to Rippling.

Sequence Diagram#

Screenshot 2023-11-30 at 7.39.41 PM.png

Sequence Explained#

1.
Admin installs your app in Rippling. You now have access to an access token and refresh token from the installation flow (see the Installation Guide).
Screenshot 2023-11-30 at 4.44.02 PM.png
2.
Employees who meet the access rules configured in your app now will see the SSO Tile on their Rippling home screen.
Screenshot 2023-11-30 at 4.42.27 PM.png
3.
Employee clicks on the SSO tile. This will bring the employee to the SSO URL configured in your app.
Screenshot 2023-11-30 at 7.40.47 PM.png
4.
Your application should then route the employee to the Rippling OIDC Authorization URL (/oidc/v1/authorize) with the correct parameters. Example:
https://app.rippling.com/oidc/v1/authorize?response_type=code&scope=openid%20profile%20email%20address%20phone&client_id=nG127yAkBB0qTJTY7nEWdGPqIhqsBLUWt6qFp5d5W&state=stateexample&redirect_uri=https://oauth.pstmn.io/v1/callback
5.
Rippling will then redirect back to the redirect URL you passed in as a parameter (assuming this URL is already configured in your app) along with the authorization code.
https://oauth.pstmn.io/v1/callback?code=SVJqqnlPjzviET3mFajGeQBxRHcNVrA1&state=stateexample
6.
Your application then takes the authorization code and redeems it via the POST /api/o/token endpoint. You exchange the authorization code for tokens.
https://api.rippling.com/api/o/token/?grant_type=authorization_code&code=SVJqqnlPjzviAmFajATF6eQBxRHcNVrA1&redirect_uri=https://oauth.pstmn.io/v1/callback
7.
Your application receives tokens from Rippling.
{
    "access_token": "5mIjAfhs7qKVwh5qH1u4CQLM39zArut72",
    "expires_in": 129600,
    "token_type": "Bearer",
    "scope": "employee:read openid company:read",
    "refresh_token": "Mbk9ie4tswcZtNiGMc7Hab6mjQfZ8ZsP",
    "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyJzdWIiOiI1ODNmZDhiNzNiZjIwN2NhYjgwMjcxZGEiLCJyb2xlX2lkIjoiNTgzZmQ4YjczYmYyMDdjYWI4MDI3MWY0IiwiaXNzIjoiaHR0cHM6Ly9hcHAucmlwcGxpbmcuY29tIiwiYXVkIjoibkcxMjd5QWtCQjBxVEpUWTduVGRHUHFJaHFzQkxVV3Q2cUZwNWQ1VyIsImlhdCI6MTcwMTM4MDk5NCwiZXhwIjoxNzAxMzg0NTk0fQ.J-yORMqyaNfimU4OJ8-iVTRPtMZ-iNuYeG-Jauf65cEVG5kZT3tRPMzCOFHrUPF0bvTl9Cbb0ZHeuRvR8YArGDNygbXTZPINTLEcLQUjPkDizjiohZm5kBrGGZSXllZVDBa97a9T-tHgwrKlRC9erPvbM63l5NER12kjxh0Czi7ogsIn08BudXaqpitDjwEORVjXB8SQivuOTsdbednjjEUiihN9FuAPV98VTjSFM-KiRfQS4aa1cPq-81zjwqaLYHQASKcdrMVrYycAtJWabjd37yKoiy-JVPnsJ7KWjxXs_lm70jHu4uVRHTRBNVlcsv4XMDElAg-OMHQVsF06oQX-rgznWIaiThXe4NPH9txA7hVl-qVyeRD6UQ9eZwv0jAGL1r9QXAJ0DGpPQZH_zPo0Fpf3PS9ODg-0g2nzMkfdSyqLfy6EE_ocEYFgtwFcX2s0PvddKj56ewrrVZG6acrEjcPyDtdD-coiXEcQzDrNiShII-AaxTC8ugJTqaMQu1Ykg7U0z4DfOdjAyzfB0ItFQu453KbK9FkvdSlWxpcFjTSIMbwooTLbGmK_1M2lx05iVzhEu40YTeaA2aJezeJil7qixWCsqBUFtbUdrcHwXJlE5YttvQlzxn6P6BAxEqyLZXiJD2m0G8iLctagau8FFDMJdAQOqBuED1kZnZM"
}
8.
Your application now validates the user information associated with the token.
Option A: Use the access_token
Take the access_token and call GET /userinfo. This returns the user information associated with the token that can now be used to validate the user information.
{
    "sub": "583faes43d8b73bf207cab80271da",
    "role_id": "583fd8b73bf207cab80271f4",
    "picture": "https://cdn.rippling.com/static/hub/F/2.jpg",
    "name": "Laurent Eparza",
    "family_name": "Eparza",
    "given_name": "Laurent",
    "birthdate": "1941-12-01",
    "gender": "female",
    "email": "apps@example.com",
    "email_verified": true,
    "address": "{\"street_address\": \"891 White Fork\", \"locality\": \"San Francisco\", \"region\": \"CA\", \"postal_code\": \"94110\", \"country\": \"US\"}",
    "phone_number": "5546890174",
    "phone_number_verified": true
}
Option B: Use the id_token
Take the id_token and decode it to validate the user information. Use the JWKS API Endpoint (https://api.rippling.com/platform/api/jwks_keys) to validate the JWT. The role_id corresponds to the id from GET/employees. The aud corresopnds to your client ID.
8.
Your application now validates the user information associated with the token.

Components#

Configure the URLs in your app for OIDC SSO#

You are responsible for ensuring that your app is configured with the correct URLs to power the OIDC SSO flow. There are two types of URLs that are configurable: the SSO URL and the Redirect URL(s).
Before you start any OIDC testing, you must confirm the configured URLs in your app. If you are missing any, your testing will not work.

What is the Single Sign On (SSO) URL?#

The SSO URL controls where the user is directed to when they click on your app's SSO tile on the Rippling home page. It is the URL that users will be taken to when they want to SSO in to your application from Rippling. This is a mandatory field to configure for OIDC SSO. You can only have one SSO URL for your app. The SSO URL won’t include any parameters for OIDC SSO flows. For OIDC flows, think of this URL as the mechanism to trigger the SP-initiated flow from your app to Rippling. When a user clicks on the SSO tile from Rippling, they will be brought to the configured SSO URL in your app from which your application should then to trigger the SP-Initiated OIDC SSO flow.

What are the Redirect URL(s)?#

The Redirect URL(s) controls where Rippling sends the user to your app after they've retrieved the authorization code from Rippling. There is a Default Redirect URL that will be used everytime a user goes to install your app from Rippling. This URL is not important to the OIDC SSO flow unless you choose to use it for the SSO flow as well.
Rippling does support multiple redirect URLs in your app and these can be used during the OIDC SSO flow. We bring this to attention as there has been a notable demand from various partners to configure an "Install Redirect URL" alongside an "SSO Redirect URL."
We would consider following Rippling's recommended implementation at the bottom of this guide.
Rippling will only use redirect URIs that have already been configured in your app. Rippling will not redirect to any URL that is passed as a parameter.

Make OIDC Authorization Request#

To send an authentication request, your server will need to make a /GET request containing the desired parameters sent to the Authorization Server.
This URL is https://app.rippling.com/oidc/v1/authorize.
Auth Query ParametersDescription
Response_typeinput the value code
scopeRequired scopes: openid profile email address phone separated by space
redirect_uriThe URL on Rippling that the user should be sent back to once the OAuth setup is done. This must match what was provided in the partner package.
stateA state string that can be used to remember the state of interaction with the end user.
client_idThe client_id Rippling provides you with
Sample Authentication Request:

Receive the authorization code from Rippling#

Rippling will then authenticate and direct the end-user back to the client along with an authorization code.
https://client.example.com/v1/callback?code=7IudMqOgZBwgqU6ZimPVIRNpWj3uw4&state=enter_state_status

Redeem your authorization code for tokens#

To retrieve your tokens (access, refresh, & id token), your server will need to make a POST to the API Token URL. In production, this URL is https://api.rippling.com/api/o/token/​. This is the same API Token URL that you use during the initial OAuth installation flow.
The POST should include a basic auth header with base64 encoded <clientid>:<clientsecret>, along with the following parameters.
Auth Query ParametersDescription
grant_typeThis should just be static and configured as authorization_code
codeInput the authorization code that was sent in the redirect
redirect_uriYour redirect URL. This must match the redirect URL you had provided to Rippling
Here is an access token sample request:
Here is an access token sample response:
{
    "access_token": "9c0uXmWUidA5XzARHjifCoCnVwRd5K",
    "expires_in": 129600,
    "token_type": "Bearer",
    "scope": "employee:read company:read openid",
    "refresh_token": "PM64k0SjTM3ybQpNsaKdmanDZgL6vn",
    "id_token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6IjEifQ.eyEzdWIiOiI1ODNmZDhiNzNiZjIwN2NhYjgwMjcxZGEiLCJyb2xlX2lkIjoiNTgzZmQ4YjczYmYyMDdjYWI4MDI3MWY0IiwiaXNzIjoiaHR0cHM6Ly9hcHAucmlwcGxpbmcuY29tIiwiYXVkIjoibkcxMjd5QWtCQjBxVEpUWTduVGRHUHFJaHFzQkxVV3Q2cUZwNWQ1VyIsImlhdCI6MTcwMTM3MjIwMSwiZXhwIjoxNzAxMzc1ODAxfQ.BqHXoG02pnc1dKaXbi0dWOdbY7FCQi_LYvUA8pmNuVBJkeounV3R96TLQqxxStd0cPXaIBrPwJbKjgrMsFmCwBDIGKS7a_hjSV4YKeUSgSuDDipxkzpbKR6zOeCnNJrGtdFk3iSy079pJ_eus-pmK4N-d8CPv_JbbDm33X2CW4eAVXK12bIjLbN5ZMNEqydiwjV6go0SgWLr1945e58p6q1o0V4FQ-ekxI7NJEieaD-EdieHQWuITX1QrIIFSPQ7npeTSSQ4ZkYp1kI0z2DZIy6O1xQfQn4wDXaEB1i16OwNDIL68WQvfGHDQAWuIgSEAdvC7Vu-USVT-ZRAHYugTdyfW_SVtxaZrXxf9S1B1b0ZaoV-Y8mR53b1ekdQs7xbEjnohidns-qGgWRwwzZSExAUAJJixtxlL5J-0IoXOHgJCbj3yWKgstoHD8CaLMFch1PcDQ8jE2Q7yCowsgpzcAtOGBAKPcsfkaKVUJdsGWelsb2odrXUWF6YTuHm8Bel_jsrIHjKeNHcOf5XdyLcrwKVhXDLBt6cUaR8w3iVcvC2C5Wf45YzYQdjJnXGwLySdf1CIxdRpLKfpueab5izBNsCR6fVUpZJAUS-Um_AApTEx7TSY7rdobqBweHcH21B2kFSDnv-VRNQLNJy7_0jv3k1oVrL2PlOUxdFrkZANw4"
}

Return claims about the authenticated user#

There are two ways in which you can return claims about the currently authenticated end user. You can do so through using the GET /userinfo endpoint or decoding the JWT. While there are two options, Rippling recommends that you use the /userinfo endpoint.

GET /Userinfo (Recommended Approach)#

You can make a GET to /userinfo endpoint: https://api.rippling.com/platform/api/userinfo. The Access Token obtained from the OAuth request must be sent as a Bearer Token.
Sample request:
Sample response:

ID Token#

The ID token (id_token) is a JSON web token (JWT) where partners can decode from base64 format in order to extract data of the user. Once decoded, the aud field should match with the client ID we provide you with, the role_id field corresponds to the role id of the role who is trying to log in.

Fetch refresh tokens#

To retrieve a refresh token, send a POST request to the same URL https://api.rippling.com/api/o/token/​ with basic auth and the following form parameters. The request should use basic auth and requires client ID and secret (basic auth header with base 64 encoded <clientid>:>clientsecret>Tokens are valid for three days or until refreshed. When the POST request is made to retreive a new token, the current token becomes invalidated.
Refresh Query ParametersDescription
grant_typerefresh_token
refresh_tokenRefresh token from the initial grant

Fetch public keys from the JWKS endpoint (optional)#

The JWKS API implements the JWKS_URI as specified here. The endpoint returns JWKS containing public keys that enable clients to validate a JSON Web Token (JWT) issued by the OIDC Provider.
The URL is: https://api.rippling.com/platform/api/jwks_keys

Recommended Implementation#

While partners can choose to configure their app as they see fit to support their integration, based on our partners' experience, we have seen the following OIDC implementation work for other partners.
SSO URL
Configure your SSO URL as something like https://yourapp.com/sso/rippling/authorize
Redirect URLs
Configure two redirect URLs for your app.
Configure your Default Redirect URL as something like https://yourapp.com/oauth/rippling
Configure your secondary redirect URL as something like https://yourapp.com/sso/rippling
The /sso/rippling/authorize URL should be configured as your SSO URL. This URL will ONLY be used after the customer has succesfully installed your app in Rippling. The SSO URL controls where the user is directed to when they click on your app's tile on the Rippling home page in the Single Sign-On navigation bar. The SSO URL won’t include any parameters for OIDC SSO flows because Rippling does not support IDP-initiated flows, so think of this URL as the mechanism to trigger the SP-initiated SSO flow from your app to Rippling.
The /oauth/rippling Redirect URL should be configured as your Default Redirect URL. Your Default Redirect URL is the URL that will be used during the installation flow in Rippling of your app. Specifically, it will be used when the customer clicks on Redirect from the "Redirect" screen in the installation flow of your app in Rippling.
The /sso/rippling URL is the URL that should be configured as your secondary redirect URL. This URL will not be used during the app installation process and will only be used during the SSO flow. It is the redirect URL used when the SP-Initiated OIDC SSO flow has been triggered from your app.
While you can change the labels/names of your URLs as you see fit, we've had partners provide feedback that differentiating the names has been helpful for troubleshooting.

FAQs#

What is Rippling's Issuer URL?#

https://app.rippling.com

Does Rippling support IDP-initiated OIDC SSO flows?#

Rippling currently only supports SP-initiated OIDC SSO flows. Rippling does not support IDP-initiated flows. We handle IDP-initiated OIDC flows by linking to a URL on the Service Provider (you the partner) that triggers the OIDC flow on the Service Provider (you the partner) and immediately redirects back to Rippling with the first leg of OIDC. From the user's POV, this appears like an IDP-initiated flow.

Does Rippling support the Discovery URL for OIDC?#

At this time, Rippling does not support the Discovery URL for OIDC.

What if my customers do not all want OIDC SSO as part of their integration?#

If OIDC SSO is enabled within the app listing by the partner, it is required for customers to configure these settings during their initial integration setup. Unlike SAML SSO, OIDC SSO is not optional.
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.
Modified at 2026-06-19 16:21:06
Previous
User Management Guide
Next
SAML SSO Guide
Built with