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

# Configure SSO within Partoo

> Connect your Identity Provider to Partoo using metadata or .well-known URL

<Steps>
  <Step title="Open the configuration page">
    Go to the SSO setup page in the Partoo app.

    Example: `https://app.partoo.co/settings/integrations/sso/{sso-type}`

    <Frame caption="SSO configuration page in the Partoo app">
      <img src="https://mintcdn.com/partoo/P_Jb4Af_6Al7QkYi/assets/images/guides/api/resources/settings/sso/page-sso.png?fit=max&auto=format&n=P_Jb4Af_6Al7QkYi&q=85&s=98c6fa56aef8ecef7c529f20fbb5a192" alt="SSO configuration interface in the Partoo application" width="2866" height="1606" data-path="assets/images/guides/api/resources/settings/sso/page-sso.png" />
    </Frame>
  </Step>

  <Step title="Prefill the configuration from your IdP">
    Use one of the following methods:

    <Tabs>
      <Tab title="SAML">
        Click on **Prefill** and upload your `metadata.xml` file.

        Or manually enter:

        * Entity ID
        * Single Sign-On URL
        * X.509 certificate

        <Frame caption="Prefill SAML configuration in Partoo">
          <img src="https://mintcdn.com/partoo/P_Jb4Af_6Al7QkYi/assets/images/guides/api/resources/settings/sso/prefill-saml.png?fit=max&auto=format&n=P_Jb4Af_6Al7QkYi&q=85&s=a8233ac47e5b7e27389a40f3d7043776" alt="Webhook listing in the Partoo interface" width="2866" height="1606" data-path="assets/images/guides/api/resources/settings/sso/prefill-saml.png" />
        </Frame>
      </Tab>

      <Tab title="OIDC" caption="Prefill OIDC configuration in Partoo">
        Click on **Prefill** and enter your `.well-known` URL.

        Or manually enter:

        * Issuer
        * Authorization endpoint
        * Token endpoint
        * JWKS URI

        You’ll also need to enter your `client_id` and optionally a `client_secret`.

        <Frame caption="Prefill OIDC configuration in Partoo">
          <img src="https://mintcdn.com/partoo/P_Jb4Af_6Al7QkYi/assets/images/guides/api/resources/settings/sso/prefill-oidc.png?fit=max&auto=format&n=P_Jb4Af_6Al7QkYi&q=85&s=3cb8dd1e883b81b294743050d6244d11" alt="Webhook listing in the Partoo interface" width="2866" height="1606" data-path="assets/images/guides/api/resources/settings/sso/prefill-oidc.png" />
        </Frame>
      </Tab>
    </Tabs>
  </Step>

  <Step title="Set optional fields">
    * Technical contact email
    * Expiration date of your certificate or configuration
  </Step>

  <Step title="Enable the configuration">
    Toggle the activation switch at the top-right of the page.

    <Warning>
      If you forget this step, the connection won't be usable even if correctly configured.
    </Warning>

    <Warning>
      You cannot configure both SAML and OIDC single sign-on (SSO) simultaneously.
      Please choose either SAML or OIDC for your SSO setup to avoid configuration conflicts.
    </Warning>

    <Frame caption="Activate SSO config">
      <img src="https://mintcdn.com/partoo/P_Jb4Af_6Al7QkYi/assets/images/guides/api/resources/settings/sso/activate-sso.png?fit=max&auto=format&n=P_Jb4Af_6Al7QkYi&q=85&s=d9a8b93567704d287bcdd08ff5ccdc37" alt="Webhook listing in the Partoo interface" width="2866" height="1606" data-path="assets/images/guides/api/resources/settings/sso/activate-sso.png" />
    </Frame>
  </Step>
</Steps>
