Files
authentik/website/integrations/services/espocrm/index.md
Dewi Roberts 6d4c9a3446 website/integrations: fix typos, update language and styling (#14978)
* Typo and improved language

* Changes "admin" to "administrator" and updates indentation

* Updates miniflux to newer styling

* Combines two notes at beginning of jellyfin doc into one

* Replaces all "your application slug" with "application_slug" and replaces tags that are no longer in use

* Replaces tags that are no longer in use

* Updates immich indentation, application_slug and removes tags

* Updated bookstack indentation, tags and application slug

* Removes kbd and em tags, and updates the application slug

* Gix metadata header in bookstack doc

* Lint fix miniflux

* ArgoCD indentation

---------

Signed-off-by: Dewi Roberts <dewi@goauthentik.io>
2025-06-10 12:48:49 +01:00

3.9 KiB

title, sidebar_label, support_level
title sidebar_label support_level
Integrate with EspoCRM EspoCRM community

What is EspoCRM?

EspoCRM is a CRM (customer relationship management) web application that allows users to store, visualize, and analyze their company's business-related relationships such as opportunities, people, businesses, and projects.

-- https://www.espocrm.com/

:::warning This guide does not cover Team Mapping. Please refer to EspoCRM's documentation. :::

Preparation

The following placeholders are used in this guide:

  • espocrm.company is the FQDN of the EspoCRM installation.
  • authentik.company is the FQDN of the authentik installation.

:::note This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application. :::

authentik configuration

To support the integration of EspoCRM with authentik, you need to create an application/provider pair in authentik.

Create an application and provider in authentik

  1. Log in to authentik as an administrator and open the authentik Admin interface.
  2. Navigate to Applications > Applications and click Create with Provider to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
  • Application: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
  • Choose a Provider type: select OAuth2/OpenID Connect as the provider type.
  • Configure the Provider: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
    • Note the Client ID, Client Secret, and slug values because they will be required later.
    • Set a Strict redirect URI to https://espocrm.company/oauth-callback.php.
    • Select any available signing key.
    • Under Advanced Protocol Settings, set Subject mode to be Based on the Users's username.
  • Configure Bindings (optional): you can create a binding (policy, group, or user) to manage the listing and access to applications on a user's My applications page.
  1. Click Submit to save the new application and provider.

EspoCRM configuration

To configure EspoCRM for OpenID Connect authentication, navigate to your instance and login as an administrator user. Then, navigate to Administration > Authentication and select the OIDC method. A panel allowing you to configure OIDC settings should appear.

Configure the following fields:

  • Client ID: The Client ID from authentik
  • Client Secret: The Client Secret from authentik
  • Authorization Redirect URI: https://espocrm.company/oauth-callback.php
  • Fallback Login: Toggle this option if you wish to have the option to use EspoCRM's integrated login as a fallback.
  • Allow OIDC login for admin users: Toggle this option if you wish to allow administrator users to log in with OIDC.
  • Authorization Endpoint: https://authentik.company/application/o/authorize
  • Token Endpoint: https://authentik.company/application/o/token
  • JSON Web Key Set Endpoint: https://authentik.company/application/o/<application_slug>/jwks
  • Logout URL: https://authentik.company/application/o/<application_slug>/end_session

Configuration verification

To confirm that authentik is properly configured with EspoCRM, log out and log back in via authentik. Clicking the "Login" button on the homepage should redirect you to authentik.

Resources