---
title: How to Set Up SSO with Keycloak
description:   Single Sign-On allows your System Administrator to manage all logins across all applications from one secure platform. This ensures that applications can only be accessed if configured properly, thu
---

[Skip to content](https://help.precoro.com/how-to-set-up-sso-with-keycloak#main-content)

[Contact us](https://help.precoro.com/kb-tickets/new?hsLang=en) [Customer portal](https://help.precoro.com/tickets-view?hsLang=en)

[![Property 1=Default](https://help.precoro.com/hubfs/Property%201=Default.svg)](https://app.precoro.com/login)

Open main navigation

Close main navigation

- [Contact us](https://help.precoro.com/kb-tickets/new)
- [Customer portal](https://help.precoro.com/tickets-view)
- [Contact Us](https://share.hsforms.com/1-5JilMA_Qv6AOSVjFtNhDg14slf)

[Contact Us](https://share.hsforms.com/1-5JilMA_Qv6AOSVjFtNhDg14slf)

 Hi there! How can we help you today?

- There are no suggestions because the search field is empty.

1. [Knowledge Base](https://help.precoro.com/?hsLang=en)
2. [Precoro Integrations](https://help.precoro.com/precoro-integrations?hsLang=en)
3. [SSO Setting](https://help.precoro.com/precoro-integrations?hsLang=en#sso-setting)

# How to Set Up SSO with Keycloak

#### TABLE OF CONTENTS

- [What is a Single Sign-On?](https://help.precoro.com/how-to-set-up-sso-with-keycloak#what-is-a)
- [How to Set Up SSO with Keycloak](https://help.precoro.com/how-to-set-up-sso-with-keycloak#how-to-set-up-with-keycloak)
- [How to Invite New Users to Precoro if the SSO is Enabled](https://help.precoro.com/how-to-set-up-sso-with-keycloak#how-can-you-invite)
- [Keycloak FAQs and Highlights](https://help.precoro.com/how-to-set-up-sso-with-keycloak#faqs)

### What is a Single Sign-On?

Single Sign-On allows your System Administrator to manage all logins across all applications from one secure platform. This ensures that applications can only be accessed if configured properly, thus giving you the confidence that your company’s private information is safe.

For organizations with more than a handful of employees, this feature is critical for IT and Security teams to effectively manage user accounts across dozens or hundreds of vendors’ contacts. In the event that an employee leaves the company, it allows the IT team to immediately disable their access to all applications, rather than logging into 100 different user management portals.

### How to Set Up SSO with Keycloak

1\. Open the Configurations tab on the left side of the screen, go to the **SSO Settings** tab, and move the switch to **On**.

2\. Open your account in Keycloak, choose an existing realm, or add a new one. 

3\. Go to Configure —\> Clients and create a new one:

- Go back to the **SSO Settings** tab in Precoro, copy **Entity ID**, and paste it to the **Client ID** field.
- Change **Client Protocol** to **SAML**.
- Copy **ACS** from your SSO configuration tab in Precoro and paste it in the **Client SAML Endpoint** field.

 4\. Change the settings of a new client:

- Turn on **Sign Assertions**.
- **Root** and **Base URL** must be [https://app.precoro.com/](https://app.precoro.com/).
- **Valid Redirect URLs** must be [https://app.precoro.com/](https://app.precoro.com/*).
- Go to the **SSO Settings** tab in Precoro, copy **ACS,** and paste it to **ACS POST Binding URL** field.
- To fill in **Logout Service POST** and **Logout Service Redirect Binding URL** fields, copy **Single Logout Response Endpoint** from your SSO configuration tab in Precoro and paste it.

 5\. Switch to the **SAML Keys** tab in the client’s profile:

- Go to the **SSO Settings** tab in Precoro and download the Precoro Certificate.
- Press **Import** and choose **Certificate PEM** as Archive Format.
- Import this certificate to your **SAML Keys.**

 6\. Go to **Manage** —\> **Users** and create a new user:

- Make sure you enter your valid Precoro account email (add it both as username and as email).
- First Name and Last Name should be the same as in Precoro.
- Turn the **Email Verified** switch **On**.

 7\. Switch to the **Credentials** tab in the user’s profile and set a password.

8\. Open **Configure** —\> **Realm Settings** —\> **Login** tab:

- Change **Require SSL** to **None.**
- Switch to **General** tab and save Metadata endpoint as .xml file.
- Find entityID in this file, copy it, and paste to Step 3 in your SSO configuration tab in Precoro.
- Upload downloaded .xml file to Precoro.

**You can now access Precoro with Keycloak:**

Log in and log out easily.

### How to Invite New Users to Precoro if the SSO is Enabled

 You can still invite users to your Precoro company account from the [**User Management**](https://app.precoro.com/manage/user) tab. But first, this user must be added to your user list in Keycloak.  
A new user will be redirected to the Company Login page from the invitation email.

### Keycloak FAQs and Highlights

- If you give a user access to Precoro through Keycloak, they will not be added to Precoro.
- If you change the user’s email in Keycloak, it will not be changed in Precoro.
- If you end a session in Keycloak, you will still be logged-in in Precoro.
- If you delete or disable a user in Keycloak, they will not be deleted or disabled in Precoro (they will not be able to log in, though).

To protect your data even better, you can now restrict signing in via Google, prompting users to log in with SSO. Here’s how to do so:

- Go to Configuration → Account Settings.
- Disable the **Allow login via Google Sign In** checkbox (it is active by default). This setting is visible if at least one of the companies in your account has SSO.
- Press **Update** to confirm the changes.

- [Precoro Setup](https://help.precoro.com/precoro-setup?hsLang=en#main-content)

    - [Configurations](https://help.precoro.com/precoro-setup?hsLang=en#configurations)
    - [User Management](https://help.precoro.com/precoro-setup?hsLang=en#user-management)
    - [Custom Fields and Forms](https://help.precoro.com/precoro-setup?hsLang=en#custom-fields-and-forms)
    - [Supplier management](https://help.precoro.com/precoro-setup?hsLang=en#supplier-management)
    - [Working with Items](https://help.precoro.com/precoro-setup?hsLang=en#working-with-items)
    - [Approval Workflow](https://help.precoro.com/precoro-setup?hsLang=en#approval-workflow)
    - [Location Management](https://help.precoro.com/precoro-setup?hsLang=en#location-management)
    - [Precoro Payments](https://help.precoro.com/precoro-setup?hsLang=en#precoro-payments)
    - [Two-factor authentication](https://help.precoro.com/precoro-setup?hsLang=en#two-factor-authentication)
    - [Security](https://help.precoro.com/precoro-setup?hsLang=en#security)
    - [US Based Server](https://help.precoro.com/precoro-setup?hsLang=en#us-based-server)
- [How to use Precoro](https://help.precoro.com/how-to-use-precoro?hsLang=en#main-content)

    - [Warehouse Requests](https://help.precoro.com/how-to-use-precoro?hsLang=en#warehouse-requests)
    - [Requests for Proposals](https://help.precoro.com/how-to-use-precoro?hsLang=en#requests-for-proposals)
    - [Purchase Requisitions](https://help.precoro.com/how-to-use-precoro?hsLang=en#purchase-requisitions)
    - [Purchase Orders](https://help.precoro.com/how-to-use-precoro?hsLang=en#purchase-orders)
    - [Service Orders](https://help.precoro.com/how-to-use-precoro?hsLang=en#service-orders)
    - [Receipts](https://help.precoro.com/how-to-use-precoro?hsLang=en#receipts)
    - [Invoices](https://help.precoro.com/how-to-use-precoro?hsLang=en#invoices)
    - [Expenses](https://help.precoro.com/how-to-use-precoro?hsLang=en#expenses)
    - [Budgeting](https://help.precoro.com/how-to-use-precoro?hsLang=en#budgeting)
    - [Inventory](https://help.precoro.com/how-to-use-precoro?hsLang=en#inventory)
    - [Reports](https://help.precoro.com/how-to-use-precoro?hsLang=en#reports)
    - [AP Inbox and Intelligent AP Automation](https://help.precoro.com/how-to-use-precoro?hsLang=en#ap-inbox-and-intelligent-ap-automation)
    - [Working with documents](https://help.precoro.com/how-to-use-precoro?hsLang=en#working-with-documents)
    - [Suppliers Portal](https://help.precoro.com/how-to-use-precoro?hsLang=en#suppliers-portal)
    - [Supplier Registration](https://help.precoro.com/how-to-use-precoro?hsLang=en#supplier-registration)
    - [Attachments, Filters, and Search](https://help.precoro.com/how-to-use-precoro?hsLang=en#attachments-filters-and-search)
    - [Mobile App](https://help.precoro.com/how-to-use-precoro?hsLang=en#mobile-app)
    - [FAQs and Troubleshooting](https://help.precoro.com/how-to-use-precoro?hsLang=en#faqs-and-troubleshooting)
- [Precoro Integrations](https://help.precoro.com/precoro-integrations?hsLang=en#main-content)

    - [QuickBooks Online Integration](https://help.precoro.com/precoro-integrations?hsLang=en#quickbooks-online-integration)
    - [NetSuite Integration](https://help.precoro.com/precoro-integrations?hsLang=en#netsuite-integration)
    - [Xero Integration](https://help.precoro.com/precoro-integrations?hsLang=en#xero-integration)
    - [API Requests and Webhooks](https://help.precoro.com/precoro-integrations?hsLang=en#api-requests-and-webhooks)
    - [SSO Setting](https://help.precoro.com/precoro-integrations?hsLang=en#sso-setting)
    - [Google Integration](https://help.precoro.com/precoro-integrations?hsLang=en#google-integration)
    - [Power BI](https://help.precoro.com/precoro-integrations?hsLang=en#power-bi)
    - [Integration with Slack](https://help.precoro.com/precoro-integrations?hsLang=en#integration-with-slack)
    - [PunchOut Catalogs](https://help.precoro.com/precoro-integrations?hsLang=en#punchout-catalogs)
    - [Integrations via Connectors](https://help.precoro.com/precoro-integrations?hsLang=en#integrations-via-connectors)
    - [Bill.com Integration](https://help.precoro.com/precoro-integrations?hsLang=en#bill-com-integration)
- [Precoro Updates](https://help.precoro.com/precoro-updates?hsLang=en#main-content)

    - [Releases, 2026](https://help.precoro.com/precoro-updates?hsLang=en#releases-2026)
    - [Releases, 2025](https://help.precoro.com/precoro-updates?hsLang=en#releases-2025)
    - [Releases, 2024](https://help.precoro.com/precoro-updates?hsLang=en#releases-2024)
    - [Releases, 2023](https://help.precoro.com/precoro-updates?hsLang=en#releases-2023)
    - [API Updates](https://help.precoro.com/precoro-updates?hsLang=en#api-updates)
    - [General changes](https://help.precoro.com/precoro-updates?hsLang=en#general-changes)

[![Precoro](https://help.precoro.com/hubfs/Precoro.svg "Precoro")](https://precoro.com/)

<https://www.facebook.com/precoro> <https://x.com/PrecoroHQ> <https://www.youtube.com/@precoro> <https://www.linkedin.com/company/precoro>

Copyright © 2026, Precoro