> ## Documentation Index
> Fetch the complete documentation index at: https://docs.inflection.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Single Sign-on

> Google and Okta users can set up SSO for Inflection.

## Google SSO

This guide provides step-by-step instructions for Google Workspace administrators to enable Google Single Sign-On (SSO) for access to Inflection’s web portal.

<AccordionGroup>
  <Accordion title="Part 1: Set up Google workspace for SAML">
    <AccordionGroup>
      <Accordion title="Prerequisites">
        * Google Workspace administrator account with super admin privileges
        * A verified domain in Google Workspace
        * User accounts set up in Google Workspace
      </Accordion>

      <Accordion title="Add SAML app">
        1. **Open Google Admin console** ([https://admin.google.com](https://admin.google.com)) → *Apps* → *Web and mobile apps* → **Add app** → **Add custom SAML app**

        2. **App details**
           * Name: **Inflection**
           * (Optional) Description and logo
           * Click **Continue**

        3. **Download IdP info** (from the *Google IdP Information* step)
           * Either **Download Metadata** or copy:
             * **SSO URL** (a URL like `https://accounts.google.com/o/saml2/idp?idpid=...`).
             * **Entity ID / Issuer** (Google shows a similar URL).
             * **Certificate** (X.509). You will paste this in Inflection later.
           * Click **Continue**

        4. **Service provider details**
           * **ACS URL:** `https://auth.inflection.io/api/v1/saml/sso2`
           * **Entity ID:** `https://auth.inflection.io`
           * **Start URL:** *(leave blank)*
           * **Signed response:** **Checked**
           * **Name ID format:** **Email**
           * **Name ID:** **Basic Information → Primary email**
           * Click **Continue**

        5. **Attribute mapping** (Add Mapping)

           | Google Directory attribute | App attribute |
           | - | - |
           | Primary email | `email` |
           | First name | `name` |

        6. **Save**

        7. **Turn on for users**
           * On the app’s main page, click **User access** and turn **ON for everyone** or for specific **users/Groups**.
      </Accordion>
    </AccordionGroup>
  </Accordion>

  <Accordion title="Part 2: Enable SSO Login in Inflection">
    In Inflection, navigate to **Settings** > **Single Sign-on**.

    In the **Single Sign-on** section, enable SAML. Then enter:

    * **Single sign-on URL:** This is the SSO URL from the google admin page, typically of the form `https://accounts.google.com/o/saml2/idp?idpid=xxxxxxxxx`
    * **Issuer:** This is the Entity ID entry from the google admin page, typically of the form accounts.google.com
    * **Certificate:** Paste the contents of the certificate downloaded from google. Note: Ensure that the contents start with `---BEGIN CERTIFICATE---` and end with `--END CERTIFICATE--` for it to be parsed properly
    * Click **Save**

          <img src="https://mintcdn.com/inflection-4b2c0de4/0Fy2fPaKm7bhQlZX/images/getting-started/single-sign-on/01.png?fit=max&auto=format&n=0Fy2fPaKm7bhQlZX&q=85&s=91867aa5df16ca4da7d5a575ed33319a" alt="Inflection Single Sign-on settings with SAML enabled, showing the single sign-on URL, issuer, and certificate fields" width="2464" height="1075" data-path="images/getting-started/single-sign-on/01.png" />
  </Accordion>

  <Accordion title="Part 3: Test the setup">
    #### Step 1: Set Access Controls

    1. Specify which user groups can access the application in Google admin console
    2. Define role-based access if applicable

    #### Step 2: Test the Configuration

    1. Test the SSO setup with a test user account before rolling it out to all users
    2. Verify that the user can use sign-up with Google on app.inflection.io, log in with their google credentials and see a fully populated inflection homepage on successful login

    #### Step 3: Deploy to Users

    1. Once testing is successful, deploy the SSO configuration to all intended users
    2. Monitor for any authentication issues during the initial rollout
  </Accordion>

  <Accordion title="Additional Resources">
    * [Google Workspace Admin Help: Set up SSO](https://support.google.com/a/answer/60224)
    * [Google Workspace Admin Help: Manage SSO certificates](https://support.google.com/a/answer/6087519)
    * [Google Workspace Admin Help: Troubleshoot SSO issues](https://support.google.com/a/answer/6348528)
  </Accordion>

  <Accordion title="Common issues & quick fixes">
    * **`app_not_configured_for_user`**
      * The user isn’t assigned to the SAML app. Turn the app **ON** for that user’s Organizational Unit or group.
    * **Audience / Entity ID mismatch**
      * Ensure **Entity ID** in Google is **exactly** `https://auth.inflection.io` (no trailing slash). Re‑save and try again.
    * **Recipient / ACS mismatch**
      * Ensure **ACS URL** is **exactly** `https://auth.inflection.io/api/v1/saml/sso2`.
    * **`Response is not signed`**
      * In the SAML app → *Service provider details*, ensure **Signed response** is **checked** (this guide assumes it is ON).
    * **Attribute issues**
      * Attribute mappings must include: Primary email → `email`, First name → `name`.
    * **Clock/time errors (rare scenario)**
      * Ensure devices and IdP time are in sync.

    ***

    ### What Inflection receives

    * **NameID**: the user’s primary email
    * **Attributes**:
      * `email`: user’s primary email
      * `name`: user’s first name
  </Accordion>
</AccordionGroup>

## Okta SSO

This guide provides step-by-step instructions for Google Workspace administrators to enable Okta Single Sign-On (SSO) for access to Inflection’s web portal.

<Info>
  This setup might fail without parameter values that are customized for your organization. Please use the Okta Administrator Dashboard to add an application and view the values that are specific for your organization.
</Info>

<Info>
  Enabling SAML will affect all users who use this application, which means that users will not be able to sign in through their regular sign-in page. They will be able to access the app through the Okta service.

  Inflection.io doesn't provide a backup sign-in URL where users can sign in using their regular username and password. You can contact Inflection.io Support ([team@inflection.io](mailto:team@inflection.io)) to turn off SAML, if necessary.
</Info>

<AccordionGroup>
  <Accordion title="Supported Features">
    The Okta/Inflection.io SAML integration currently supports the following features:

    * SP-initiated SSO
    * IdP-initiated SSO
    * JIT (Just In Time) Provisioning

    For more information on the listed features, visit the [Okta Glossary](https://help.okta.com/en/prod/Content/Topics/Reference/glossary.htm).

    The following SAML attributes are supported:

    | Name | Value |
    | - | - |
    | email | user.email |
    | name | user.displayName |
  </Accordion>

  <Accordion title="Configuration Steps">
    <AccordionGroup>
      <Accordion title="Okta Admins">
        1. From the Okta Admin dashboard, click **Admin** button

        2. Click **Applications** > **Applications**

        3. Click **Browse App Catalog**

        4. Search for and Select **Inflection** in Browse App Integration Catalog

        5. Click **Add Integration** and Click **Done**

        6. Under Assign tab, add the Okta users that must be granted access to Inflection and Save

        7. Click Sign On tab, then click **Edit**.

        8. **Encryption Certificate**: Save the following encryption certificate as **encryption.crt** then upload it to Okta.

           ```text theme={null}
           -----BEGIN CERTIFICATE-----
           MIIF/TCCA+WgAwIBAgIUCwZHNy+d3MJEls0OwP4iEYjIIrwwDQYJKoZIhvcNAQEL
           BQAwgY0xCzAJBgNVBAYTAlVTMRkwFwYDVQQIDBBXYXNoaW5ndG9uIFN0YXRlMRAw
           DgYDVQQHDAdTZWF0dGxlMRYwFAYDVQQKDA1JbmZsZWN0aW9uLmlvMRYwFAYDVQQD
           DA1JbmZsZWN0aW9uLmlvMSEwHwYJKoZIhvcNAQkBFhJ0ZWFtQGluZmxlY3Rpb24u
           aW8wHhcNMjYwOTA5MDcyNjQwWhcNMjkwOTA4MDcyNjQwWjCBjTELMAkGA1UEBhMC
           VVMxGTAXBgNVBAgMEFdhc2hpbmd0b24gU3RhdGUxEDAOBgNVBAcMB1NlYXR0bGUx
           FjAUBgNVBAoMDUluZmxlY3Rpb24uaW8xFjAUBgNVBAMMDUluZmxlY3Rpb24uaW8x
           ITAfBgkqhkiG9w0BCQEWEnRlYW1AaW5mbGVjdGlvbi5pbzCCAiIwDQYJKoZIhvcN
           AQEBBQADggIPADCCAgoCggIBAKifVjFZm+JYrRnSOg9uyKKx31v7ZY5nOR5J0H3q
           9JJ6XpIIgblaqV+SG4On4ywBetQYZvzlTdfb+WnsLy8zyv60RCdioBPH0ng20p6g
           9Yr8m/4zLbEWw8dZI9qQidTtqAwQNtimckakiasHAap1vGdN0Kzu0jA5BG4P+yCe
           qgFgE7zxk9n5p5AcJ+aiBCpau1Fb5XR+cVfoJG52KrwPsnFXtB9ne1kXAbQGNVCt
           05q1gHlyNRnM8WIo4Lr573JatL6XzyQWUbdgOow+ja5rQvUcvmHWyOxi6OPw8O/q
           r+zIM1bTvEvzNf9EzpaIuG5LkU11eXf/t7B0fOKiiVctyYShUlwYmFnmb7bqk3D1
           XbwVwnxPrV2nfn3zcJobSVNKRh354KxrDvoLD1GsKsH2WgZhsSDOmmIjGz6F196j
           XxjvkTy3jLRldpxkmzUdiDpcqfWE7lg8nzqpoIVoFqcphx/8HFpVs+3vxkcufNS8
           yyU4yMB4M553pnbE9h3ajg1hFX+U+VY7nWX2m1u0sVxnsM1+n/lgq4ZDzlTs67Sw
           avWoaPM8a53SEo2M9DwOSkVa8tmnp+ag0AnGp0fcRJ8zySsmcI+ev3S4bTT4qNrn
           5+YhBDpIPz0dYNNWm3r2Q88fT9a3NoYFhjgkMlkpPU5Oh5BBvX6Cwf4aNIoMvHNV
           Xk2ZAgMBAAGjUzBRMB0GA1UdDgQWBBQ/u2XCxrHkFwBwwSUodd/pspwTuTAfBgNV
           HSMEGDAWgBQ/u2XCxrHkFwBwwSUodd/pspwTuTAPBgNVHRMBAf8EBTADAQH/MA0G
           CSqGSIb3DQEBCwUAA4ICAQCSyWIKVyR81uv8WOWLdllzXWAtAIzWOlLLH0BchAW5
           e81VkR06/dTEwOXDhhzdUR+TUewx/uXed2s6IhSI0ruzZYfcMmS/QFcHPCdxoyg0
           Mir8b8YXud+IY5x18UZMcMEXkTlBGou8IhISBwmp2sE+GnacXGtb90LbKS97Y2Li
           wRlzliUuFB+N1UFwa49nQ75dQ86yM2c5xBP6qjbuwNjneKAFSHbMOHaS456dyXaJ
           C1Kk5SJcg4FCNNEQj8fT7VHklO2/uXUGvWluNq67zZNQUCdBNNkmwSUHWf9maSWl
           rV33Qps+N1hT3n8Ce6vFhgWk0metQEBWpi9guMdfbyDglNzyox1Dfijv4RR9dmao
           TvkGAlNC7Bzf+7b0A80tfGEpT6AQwSD0fKK8VvJfc2vRAUgds6RU+KjWGYM48Y4E
           iKY7fZWJ3Ewa2qay+k1Eckc5miZM/rgdT6V0EdKUIHI0K5UyjLsQkEx+LAzUXOBO
           qixiIXdmb2fLfDhnV8D9sng0S1ieDsM8CVO+9lyQwnDaep0bN0b3twgdw2qB55P3
           NK1gIwjuHhaoZGuixr9AhtfCtNy8nGSGzcsWZXf6uqdmbmFKGlvsFNkU+M+9iDoW
           j7SuOfD9Ra+6NrhLaoIYKpBQrzGQSzGtQcaIAJwrCoJvUIt3dvT0YD5EsYRVB96d
           Fw==
           -----END CERTIFICATE-----
           ```

        9. Scroll down to **Advanced Sign-on Settings**.

        10. Enter your **Organisation Slug** (Get it from inflection app → Settings page → Single Sign-on) into the corresponding field.

        11. **Application username format**: Select **Email**.

        12. Click **Save**.

        13. Done!
      </Accordion>

      <Accordion title="Inflection Admins">
        1. Login to inflection account
        2. Navigate to Settings
        3. Choose Single Sign-on

        The values for the following settings can be found on the Sign On tab of the Inflection Okta Application under "Metadata Details"

        * Single Sign-On URL

        * IDP Issuer

        * Certificate

                  <img src="https://mintcdn.com/inflection-4b2c0de4/0Fy2fPaKm7bhQlZX/images/getting-started/single-sign-on/02.png?fit=max&auto=format&n=0Fy2fPaKm7bhQlZX&q=85&s=16a358fac31ce4a620fe977a32775a93" alt="Inflection Single Sign-on settings showing the single sign-on URL, IDP issuer, and certificate fields" width="1024" height="826" data-path="images/getting-started/single-sign-on/02.png" />

        * **Single Sign-On URL**: Copy and paste the following:<br />*Sign On tab of the Inflection Okta Application under "Metadata Details" >> Sign on URL*

        * **IDP Issuer**: Copy and paste the following:<br />*Sign On tab of the Inflection Okta Application under "Metadata Details" >> Issuer*

        * **Certificate**: Copy and paste the following:<br />*Sign On tab of the Inflection Okta Application under "Metadata Details" >> Signing Certificate*

        * Click **Save Changes**.

        * Logout

        * And log back In. This time Okta SSO login will be prompted
      </Accordion>
    </AccordionGroup>
  </Accordion>

  <Accordion title="SP-initiated SSO">
    1. Go to: [https://app.inflection.io/login/start](https://app.inflection.io/login/start)
    2. Enter your email, then click **Continue**
  </Accordion>
</AccordionGroup>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.