Яндекс.Метрика
SSO in Pachca with ADFS OpenID

SSO in Pachca with ADFS OpenID

This guide explains how to configure ADFS on Windows Server 2016 or later to connect it to Pachca.

Open the AD FS Management tool.

Click Add Application Group….

Enter any name (for example, "Pachca").

Select the Server application type and click Next.

Save the value of the Client Identifier field.

Enter the Redirect URI we give you.

Turn on Generate a shared secret and copy the generated code.

Send us these values:

  • Client Identifier
  • Secret
  • The URL of your ADFS server

‍

Review the configuration and click Next to finish.

ADFS needs extra configuration to work with OpenID. See Microsoft's guide to custom ID tokens in AD FS.

Select the object you created and click Properties.

In the object settings, click Add application.

Select the Web API type.

In the Identifier field, enter your Client Identifier.

Leave Access Control Policy set to Permit everyone, unless you need finer control over how your users work with the authentication app.

Under Permitted scopes, select allatclaims and openid.

Review the settings and finish the configuration.

‍

‍

Pass employee attributes to Pachca

Pachca needs user data to work, so set up ADFS to pass it in the OpenID token.

Select the Web API you created and click Edit.

Go to the Issuance Transform Rules tab and click Add Rule….

Click Next.

In the Claim rule name field, enter any name (for example, "User profile").

In the Attribute store field, select Active Directory.

Fill in the table with these values:

  • E-Mail-Addresses: email
  • Given-Name: firstName
  • Surname: lastName

Click Finish to complete the configuration.

We can also agree on passing other fields to Pachca to fit your needs. To pass them, add them to this table and tell us the name of the custom Outgoing Claim Type.

Pachca profile fields and their attribute names:

  • Phone: phone_number
  • Job title: title
  • Department: department
  • Group tags: group_tags

You can also pass any other text fields from your directory to Pachca, such as an employee's manager or birthday. To do this:

  1. Create the field in Pachca: go to Members → Settings → Add field, then set a name and any type except File
  2. Enter the attribute name in the mapping, as described above for the standard profile fields

Once the mapping is set up, let our support team know so they can connect it.

‍

‍

Troubleshooting

Error on the ADFS sign-in page

To allow sign-in through the Identity Provider, run this PowerShell command:

Set-AdfsProperties -EnableIdPInitiatedSignonPage $true

‍

Error after signing in to ADFS successfully

The server time may be wrong. Check your NTP sync.

‍

‍

Test the setup

On the Pachca login screen, click With email.

Click Log in with SSO.

In the email field, enter your work email from AD.

Sign in through your company's system.

‍

"Cookie not found" error

If you see the error "Cookie not found. Please make sure cookies are enabled in your browser" when logging in on a mobile device, set Google Chrome as your default browser for opening links.

Updated: February 17, 2025

More in Administration

Accounts in Pachca
How Pachca is structured: the difference between an account, a user and a member profile
Inviting your team
How to invite your team to Pachca, the team chat app: two ways to add employees
Change your email in Pachca
How to change your email address in Pachca: a guide for employees and administrators
Errors when adding people by email
Common errors when adding users to Pachca by email and how to fix them
Managing members in Pachca
Managing members in Pachca: how to add, edit and remove people from your team
Group tags
Add employees to all the chats they need at once with group tags
Advanced administration via API
How to automate user administration in Pachca with the API: creating users, managing them and tags
Ports and addresses Pachca needs
Ports and addresses Pachca needs to work properly: setting up your corporate firewall
Storage in Pachca
Everything about file storage in Pachca: limits, managing storage space and working with documents
Setting up DLP in Pachca
Add an extra layer of protection for personal data, tokens and passwords
Internal/external file access
How to set up internal and external zones in Pachca to protect your company documents
Two-factor authentication (2FA)
How to turn on two-factor authentication in Pachca for extra account security
Import chats from Slack
How to import your chat history from Slack into Pachca: a step-by-step migration guide
Import chats from Mattermost
Pachca lets you move your chat history and files from Mattermost into your workspace.
Import chats from Telegram
If your team is moving to Pachca from Telegram, you can bring your chat history with you.
Exporting messages from Pachca
How to export messages from Pachca: data format, settings and export limitations
SSO options in Pachca
Single sign-on (SSO) in Pachca: SAML, LDAP and Keycloak connection options and step-by-step guides
SSO in Pachca with LDAP
SSO in Pachca with Multifactor.ru
SSO in Pachca with Blitz Identity Provider
SSO in Pachca with Authentik
SSO in Pachca with Keycloak
SSO in Pachca with Azure OpenID
SSO in Pachca with Google Workspace SAML
SSO in Pachca with Indeed IdP over SAML
SSO in Pachca with Yandex 360
SSO in Pachca with Yandex Identity Hub
BYOK: Bring Your Own Key in Pachca
How encryption with your own key (BYOK) works in the Pachca team chat app
Advanced encryption in Pachca
How to set up advanced encryption in Pachca for extra protection of your company data
Set up BYOK with HashiCorp Vault
Set up BYOK with Yandex KMS
Set up BYOK with Cloud.ru KMS