authentik and GLPI SAML integration

This page explains how a team connects GLPI service desk sign-in to authentik over SAML, what to prepare on each side, and where mapping and fallback decisions shape the build. It also covers what a partner would scope and what the work requires from your team.

On this page

How authentik authenticates GLPI users over SAML

authentik issues the assertion and GLPI decides who the user is in GLPI. Your IT team runs GLPI for tickets, assets and contracts, and wants staff to sign in with the identity provider they already use. The authentik integrations catalog includes a guide that configures SAML single sign-on between authentik and GLPI, and the work covers the SAML provider in authentik, the certificate exchange between the two systems, attribute mapping to GLPI users and profiles, and a local login fallback. When a user starts sign-in, GLPI sends a SAML request to authentik. authentik checks the user's session and policies, then returns a signed assertion carrying the user's identifiers and attributes. GLPI validates the signature against the certificate you installed and uses the assertion to find or create a local account.

Keep that split in mind when you troubleshoot. Most failed logins come from one of three places: the signing certificate or endpoint URLs do not match between the two systems, the identifier GLPI expects is not the one authentik sends, or the attributes that place a user into a profile are missing or named differently. authentik controls the first and second items on its side of the provider, while GLPI controls how it matches the returned identifier to a local record and which profile a new user receives. Before you build, confirm in the GLPI version you run which SAML option is available and which settings it exposes, and check those names against the catalog guide rather than relying on names from another version.

Plan the local fallback before go-live. A SAML outage at the identity provider should not lock out every administrator, so decide which accounts keep local credentials and where they are recorded. The GLPI user documentation describes authentication against the internal database, LDAP directories and other external methods, tried in a fixed order, so confirm how the SAML option sits in that order in your version and test that a local administrator can still sign in with the SAML provider turned off. Record the certificate expiry date and the process for rotating it, because a certificate change on either side will stop sign-in for everyone at once.

What you need before configuring the GLPI SAML provider

Most SAML sign-in problems with GLPI start before any provider is created, with mismatched versions, an unsupported database, or a hostname that changes after certificates are issued. The cards below cover the checks to complete on both the GLPI and authentik sides so the SAML setup has a stable base.

Pick the GLPI release line

The current lines are GLPI 11.0.11, released October 1, 2026, and GLPI 12.0.0, released October 7, 2026. Choose one line now and document it, because GLPI 11.0 suspends plugins after a new version is detected and they must be reactivated after major updates. Confirm that the SAML steps in the authentik GLPI guide match the line you chose, since screens and settings can differ between releases.

GLPI releases

Confirm the PHP and database versions

The GLPI README lists PHP 8.3 or later with MariaDB 10.11 or later or MySQL 8.0 or later. The installation docs for GLPI 11.0 list PHP 8.2 or later with MySQL 8.0 or MariaDB 10.6, and state that only MySQL and MariaDB are supported. Check the exact requirements for your target release before building the host, and do not plan around a database engine GLPI does not support.

GLPI prerequisites

Point the web server at the public directory

GLPI must be served with its document root set to the public directory, not the installation root, with URL rewriting that routes requests through index.php. This applies to Apache, Nginx, lighttpd and IIS. A wrong document root can expose configuration files and also breaks the SAML callback path, so verify it with a plain GLPI login before adding SAML.

Fix one HTTPS hostname for both sides

Choose the public hostname for GLPI and the authentik host name now, and keep both stable. The SAML entity ID, ACS URL and signing certificate are tied to these names, so a later change means reconfiguring both systems. Use HTTPS on both, and confirm that DNS and any reverse proxy forward the original host and protocol headers to each application.

Plan the signing certificate exchange

Decide who generates the SAML signing certificate, where its private key is stored, and how the public certificate gets from authentik into GLPI. Record the expiry date and the owner, and plan the rotation window before go-live. Keep the private key out of tickets and shared documents, and confirm with your security team which certificate authority or self-signed policy applies.

Size the authentik host

The authentik Docker Compose guide calls for at least 2 CPU cores and 2 GB of RAM and positions Compose for test setups and small-scale production. Plan the authentik version you will deploy, either the 2026.5.x or 2026.8.x line that receives security fixes, and confirm its install path. A Kubernetes install should use a separately managed PostgreSQL for production rather than the chart's bundled database.

Docker Compose guide

Configuring the SAML provider and certificate exchange in sequence

This sequence connects GLPI sign-in to authentik over SAML in a fixed order, so each side holds the other's certificate and endpoint details before any user signs in. It ends with a pilot login and a recorded certificate expiry date with a named renewal owner.

  1. Confirm the GLPI base URL and authentik hostname

    Before any configuration, the GLPI administrator and the authentik administrator agree on the exact public URL of the GLPI instance and the hostname authentik will use. Both values must be fixed because SAML endpoints, audience values and assertion destinations are built from them, and changing either later means redoing the exchange. Confirm that the GLPI server is reachable over HTTPS from user browsers and that the authentik hostname resolves inside the same network. The step is done when both owners have written down the two URLs and neither will change during the rollout. Confirm the GLPI URL against the GLPI installation documentation on the web server document root, since a mismatch there often causes login loops later.

  2. Create the SAML provider and its application in authentik

    In authentik, create a provider of the SAML type, which is one of the provider types the authentik documentation lists, and then create an application that exposes it to users. Set the ACS URL, audience and issuer values to match the GLPI base URL agreed in the previous step, and choose the NameID property that GLPI will use to match accounts. Keep the application in a staging state until the exchange is complete. The step is done when the provider and application exist, the ACS URL and audience match the GLPI values, and the authentik metadata endpoint for the provider returns a document without errors. Review the connector steps in the authentik GLPI guide before filling in the fields, because field names and defaults can differ between authentik releases.

  3. Export the authentik signing certificate and metadata

    Export the signing certificate that authentik uses for the provider, and download the provider metadata or copy the identity provider entity ID, single sign-on URL and certificate values. Store these in a change record that the GLPI administrator can access, and do not send private key material anywhere. Confirm which certificate is active on the provider, because a rotated or self-signed certificate that was not exported will cause signature failures at the GLPI side. The step is done when the GLPI administrator has the entity ID, the sign-on URL and the public certificate in hand, and both administrators have compared the certificate fingerprint to confirm they hold the same file.

  4. Configure SAML settings in GLPI

    On the GLPI side, configure the SAML single sign-on settings using the authentik GLPI guide as the reference for field-by-field values. Enter the identity provider entity ID, the single sign-on URL and the authentik certificate, and set the service provider values that GLPI presents, including the entity ID and assertion consumer endpoint. Keep the local login path enabled at this stage so that the GLPI administrator can recover access if the SAML settings are wrong. The step is done when GLPI saves the SAML configuration without a validation error and the service provider metadata for GLPI can be downloaded or read. Check the GLPI user documentation on authentication, which describes the order in which GLPI tries its authentication methods, so you know how the fallback will behave.

  5. Import the GLPI service provider details into authentik

    Take the GLPI service provider entity ID, assertion consumer URL and certificate from GLPI and enter them into the authentik SAML provider, or import the GLPI metadata if the authentik release supports it. Confirm that the audience restriction in authentik matches the GLPI entity ID exactly, since a difference in trailing slashes or case is a common cause of rejected assertions. Save the provider and switch the application out of staging only after the next step. The step is done when authentik shows the GLPI values on the provider, and the GLPI administrator has verified that the entity ID, the assertion consumer URL and the certificate match what GLPI published.

  6. Bind the application to the allowed users or groups

    Create a policy or group binding on the authentik application so that only the users or groups approved for GLPI can start a SAML sign-in. Decide with the service desk owner which groups map to GLPI access, and record the group names in the change record. Keep the binding narrow for the pilot. Confirm that users outside the bound groups receive an access denied response in authentik rather than a GLPI error page. The step is done when the bound group list is written down, a test user outside the list is refused, and a test user inside the list reaches the authentik consent or login step.

  7. Test sign-in with a pilot account

    Sign in to GLPI with a pilot account through the SAML button, using a private browser session. Verify that authentik issues a successful assertion, that the NameID matches the value GLPI expects for account matching, and that the attributes arrive as configured. Then check the GLPI logs for a clean entry for the login and no SAML validation errors. Test the local login fallback with a separate administrator account to confirm it still works. The step is done when the pilot user lands in the expected GLPI account and profile, the assertion details match the mapping plan, the GLPI log shows no errors, and the fallback login succeeds.

  8. Record the certificate expiry date and renewal owner

    Record the expiry date of the authentik signing certificate in the change record, along with the name of the person or team that owns renewal. Read the expiry from the exported certificate itself rather than from memory, and add a calendar reminder set by the owner. Also record which GLPI configuration fields must change when the certificate is replaced, so the renewal does not depend on whoever built the integration. The step is done when the expiry date, the renewal owner and the list of fields to update are written in the change record and both administrators have acknowledged them.

Mapping SAML attributes to GLPI users, groups and profiles

This table compares each identity attribute authentik sends in the SAML assertion with the GLPI field or behavior it feeds and the decision your team must make before go-live. Read it as a checklist: fix the identifier and login name rules first, then settle group-to-profile and deprovisioning behavior. Items marked for confirmation depend on your GLPI version and authentication configuration.

Identity dataSource in authentik and GLPI targetDecision to make
NameID (unique identifier)Set on the SAML provider's subject mapping in authentik, typically from a stable user attribute. GLPI matches the incoming NameID or a mapped attribute to an existing user record.Choose an identifier that never changes, such as a UUID or immutable employee ID, rather than an email address that may be reassigned. Confirm the exact field GLPI matches on in your version.
Login nameMapped from the authentik username into the GLPI user login field when GLPI creates the account on first sign-in. Confirm whether your GLPI version updates existing logins from later assertions.Decide whether the login name is immutable. If renames happen in authentik, agree how GLPI accounts and their ticket history will be re-linked.
Email addressMapped from the authentik user email attribute into the GLPI user email field, used for notifications and sometimes for account matching.Confirm whether duplicate emails are rejected or merged in your GLPI setup, and who owns email changes.
First and last nameMapped from the authentik given name and family name attributes into the GLPI realname and firstname fields. Confirm the field names in your GLPI version.Decide whether GLPI should display names from the directory on every login or keep names entered by administrators.
Group membership for profileSent as a multi-value group attribute from authentik. GLPI does not assign profiles from SAML groups by default, so a mapping or rule is needed. Confirm the mechanism available in your version.Define which authentik groups map to which GLPI profiles, and which default profile new users receive when no group matches.
Group membership for entityUse the same or a separate group attribute to place users in a GLPI entity. Entity placement controls visibility of tickets and assets.Decide whether entity assignment is driven by authentik group, by a department attribute, or managed manually in GLPI after first login.
Deprovisioning signalDriven by the authentik user being deactivated or removed from the application's assigned group. GLPI does not automatically disable a SAML-created account from the assertion alone unless your setup enforces it. Confirm this in your version.Decide who disables GLPI accounts when a user leaves, how open tickets are reassigned, and whether an assertion without the required group should block login.
Existing local or LDAP-backed recordsGLPI's user documentation lists authentication against the internal database, LDAP, IMAP and REMOTE_USER, tried in that order. A SAML-created account may collide with a local or LDAP-backed record with the same login.Confirm how GLPI links the SAML account to any existing local or LDAP record, and decide whether those accounts are migrated, merged or kept as fallback accounts.

How a GLPI sign-in request flows through authentik

The flow starts when a user opens GLPI in the browser. GLPI, acting as the SAML service provider, redirects the browser to the authentik SAML provider, which authenticates the user with the configured factors and checks the directory for their attributes. authentik returns a signed SAML response through the browser, and GLPI verifies the signature with the certificate it holds before matching the attributes to a local account. Check the signature step first, because it is where a misconfigured certificate fails. The local login path skips authentik entirely.

Sign-in path from GLPI to authentik, with the trust boundary and local fallback.

Security settings that protect GLPI sign-in

Signing in to GLPI through authentik moves the main trust decision to the identity provider, so the certificate, hostnames, access rules and GLPI's own administrative safeguards all need to be set on purpose. The cards below cover the controls that connect the two systems and the checks to run before go-live and after each upgrade.

Signing certificate ownership and expiry

The SAML signing certificate is the trust anchor between authentik and GLPI. Keep the private key only in authentik, which manages it, and give GLPI only the public certificate it needs to verify assertions. Record the expiry date of the certificate and set a rotation reminder well ahead of it, since an expired certificate stops sign-in for every user at once. Confirm the certificate setting names and rotation steps in the authentik GLPI guide before you change anything in production.

authentik GLPI guide

HTTPS and hostname consistency

The entity ID, assertion consumer URL and base URL configured in authentik must match the public HTTPS hostname users reach in GLPI. A mismatch between a scheme, port or hostname usually shows up as a failed assertion rather than a clear error, so compare each value on both sides. Serve GLPI from its public directory behind a web server with HTTPS and URL rewriting, as the GLPI installation prerequisites describe, and confirm that the hostname in authentik's redirect settings uses that same address.

GLPI prerequisites

Limiting who can reach GLPI

A SAML provider in authentik can sign in any user it is bound to, so binding the application to a broad group expands GLPI access without anyone noticing. Use authentik policy bindings on the GLPI application to restrict sign-in to the groups that need a service desk account, and review that binding when teams change. Remember that GLPI still decides each user's profile and rights from its own configuration, so the authentik binding is a gate and not a replacement for GLPI profile design.

Protecting the GLPI config directory

The GLPI config directory holds glpi.key and glpicrypt.key, which GLPI uses for encryption. Restrict file permissions so the web server user can read them and no one else can, keep them out of the web root, and include them in every backup. The GLPI update procedure requires backing up these keys before replacing application files, and losing them can leave encrypted data unreadable. Store the backups under the same access controls as the database.

GLPI update procedure

Step-up authentication for admin actions

GLPI 12.0.0 adds step-up authentication for certain administrative actions, so a sign-in that is already valid may still need a second check before a sensitive change. Decide which administrative actions your team treats as sensitive, then confirm in GLPI's configuration which actions trigger step-up and which factor it accepts. Pair this with the authentik MFA stages on the GLPI application so the first factor and the step-up challenge do not conflict for administrators.

GLPI 12.0.0 release

Reviewing active user sessions

GLPI 12.0.0 provides a view of active user sessions with the ability to revoke them. Use it after a staff member leaves, after a suspected compromise, or when you remove a user from an authentik group. Sessions that remain open in GLPI can outlive the authentik decision that should have ended access, so include a session review in your offboarding and incident steps. Confirm where this view sits in the GLPI administration menu for your version.

Keeping local GLPI login as a fallback during an outage

A local administrator path is the first thing to decide, because a SAML setup puts every sign-in behind authentik. If the identity provider is down, the signing certificate has expired, or the SAML provider was misconfigured during a change, a GLPI instance that only accepts federated logins locks out the people who would fix it. The GLPI user documentation describes authentication methods that are tried in order: the internal database first, then LDAP, then IMAP, then external methods such as REMOTE_USER. Confirm in your GLPI version how the SAML sign-in interacts with the database method, including whether a local account can still log in when SAML is enabled and whether the login page still offers the local form. Do not assume the order behaves the same way after an upgrade, and check the GLPI 11 and 12 release notes for any changes to authentication handling.

Create at least one dedicated local administrator account that is not tied to any authentik user, group or application assignment, and keep its password in a sealed store that two or more named people can access under your change process. Record in writing who holds those credentials, where they are stored, how access is logged and who approves their use. Also back up the GLPI configuration directory, including the glpi.key and glpicrypt.key files, because a restore without them can leave encrypted settings unreadable. Avoid any design where the only administrator's login depends on authentik, the certificate, or the same DNS and reverse proxy path as the SAML flow.

Test the fallback before go-live and repeat the test after every certificate renewal or GLPI upgrade. Simulate an authentik outage by disabling the GLPI SAML sign-in in a staging copy, then confirm the local administrator can sign in, open the configuration pages and reactivate SAML. Confirm that a normal user with a local account behaves as your policy requires, and that plugins suspended after a GLPI update are reactivated as part of the test. Write the results into the runbook with the date, the GLPI version and the name of the tester, so the fallback is a verified procedure rather than an assumption.

Common SAML failures in GLPI and authentik and how to fix them

This table pairs each common symptom in GLPI and authentik SAML sign-in with its likely cause and the fix, and names the first check to run. Work through it in order when a login fails, since certificate, hostname and attribute problems account for most failed sign-ins. The main takeaway is that most failures trace back to a mismatch between the two sides, which the first check should confirm before anything else is changed.

SymptomLikely causeFix and first check
SAML response rejected with a signature errorThe signing certificate in GLPI does not match the certificate authentik uses to sign assertions, or the certificate has expiredCompare the certificate fingerprint in the authentik provider with the one loaded in GLPI, then confirm the validity dates. Re-import the current certificate on the GLPI side and retest
Redirect loops or the callback returns to a wrong addressThe base URL or hostname in authentik differs from the address users type in the browser, or GLPI sees a different host behind the proxyCheck that the external URL in authentik matches the GLPI address exactly, including scheme and port, and that the reverse proxy forwards the original host header. Correct both sides and clear sessions
Callback fails with a 404 or a generic error after the identity provider redirects backThe web server document root points at the GLPI installation root instead of its public directory, or URL rewriting does not route requests through index.phpConfirm the document root points to GLPI's public directory and that rewrite rules are active on Apache, Nginx, lighttpd or IIS. Load the GLPI login page directly before testing SSO again
User authenticates but GLPI shows an unknown or new accountThe NameID format or the attribute GLPI reads for the login name does not match what authentik sendsInspect a SAML response in the browser or authentik logs to see the NameID and attribute names. Align the authentik property mapping and the GLPI external authentication settings to the same name
Sign-in succeeds but the user has no profile or entityThe attributes that map to GLPI profiles or entities are missing, misnamed, or not assigned to the user's authentik groupConfirm the attribute mapping sends the group or role values GLPI expects, and check the GLPI rules that assign profiles and entities. Test with one user before widening access
Assertions intermittently rejected as not yet valid or expiredClock skew between the authentik server, the GLPI server and the browser or identity pathVerify time synchronization with NTP on both servers and check that the assertion validity window in the logs matches current time. Fix the time source before changing SAML settings
SSO stops working after a GLPI updateGLPI 11.0 and later suspend plugins when a new version is detected, and a SAML or authentication plugin stays inactive until reactivated after a major updateOpen the plugin list in GLPI after the update and reactivate the SAML-related plugin. Run php bin/console db:update as the update guide requires, then test a login
Local login is also blocked when SSO failsFallback to local or database authentication was not kept enabled, or the GLPI authentication order was changed during setupConfirm that the internal database authentication method remains enabled and that a local administrator account exists and can sign in. Keep this account working before changing SAML settings

Choosing the build path by GLPI version and hosting

A new install starts on the current major line, GLPI 12.0.0, which was released on October 7, 2026. The GLPI README on the main branch lists PHP 8.3 or later and MariaDB 10.11 or later or MySQL 8.0 or later, so these are the baselines to build against. Confirm the exact requirements for 12.0.0 in the release notes before provisioning, because the installation docs still describe 11.0 requirements.

  • Database and PHP: Provision PHP 8.3 or later with MariaDB 10.11 or later or MySQL 8.0 or later, and confirm the 12.0.0 requirements against the release page.
  • Docker image option: The 12.0.0 release lists an official Docker image among the distribution options. Decide whether your platform team runs it, and keep the configuration directory on persistent storage so glpi.key and glpicrypt.key survive container replacement.
  • Update sequence: No update sequence applies to a clean install, but future upgrades will need the backup, file replacement and php bin/console db:update steps, so document them now.
  • SAML testing: Build the authentik provider and GLPI SAML settings in a non-production GLPI instance first, using a test authentik application.

Before committing, confirm the SAML steps for GLPI 12.0.0 with the authentik GLPI guide.

What buyers ask about authentik and GLPI SAML work

What drives the cost and effort of an authentik and GLPI SAML integration?

The effort follows the number of users and groups that must map to GLPI profiles and entities, how many GLPI entities and profiles exist, and whether users already sign in through LDAP or only through local GLPI accounts. Each additional entity or profile adds mapping rules and test cases. Effort also grows with the number of environments that need testing (for example, a staging GLPI and a production GLPI) and with whether GLPI and authentik are already deployed or must be installed first. If you request a quote, ask for the work broken into the SAML provider and certificate exchange, attribute mapping, fallback login testing and handover, each priced separately so you can see what is one-time and what is later support.

How long does an authentik and GLPI SAML integration take?

No duration is fixed in this page, because the timeline depends on the factors that set the scope: the number of GLPI profiles and entities, the state of the existing directory, how many environments must be validated, and how quickly your owners review the mapping. Work usually moves faster when GLPI and authentik are both running and the mapping of groups to profiles is agreed before configuration starts. Ask for the timeline in the written scope, with each milestone tied to a sign-off step, so delays on the customer side (such as waiting for a certificate decision) are visible early.

What does the customer need to provide for this work?

You need named owners for five areas: GLPI administration, identity (authentik and any LDAP directory), network (DNS, TLS and firewall rules between users, GLPI and authentik), certificates (signing certificate handling and renewal), and a test user pool that covers each profile you expect to see. You also need one approver who signs off the attribute and group mapping to GLPI users and profiles before it reaches production. Without these owners, the SAML exchange often stalls on certificate or DNS questions, and mapping errors surface only after users report wrong permissions.

Can our team configure authentik and GLPI SAML without outside help?

Yes, if your team has an administrator for GLPI and an administrator for authentik, and enough time to test sign-in with several user types before go-live. The authentik integrations guide for GLPI is the starting point for the SAML setup, and your team still needs to plan the attribute mapping, the fallback to local login and the update path for GLPI, which requires backing up the database, files and config directory including glpi.key and glpicrypt.key. Teams without a SAML background often underestimate the certificate exchange and the testing of role mapping, so a partner is most useful for those two parts.

Do GLPI Network subscriptions change the SAML integration work?

No. GLPI Network subscriptions are a separate commercial offer from SSO configuration, and the integration steps in this work do not depend on them. The GLPI subscriptions page lists GLPI Network public cloud at 19 euros per user per month, private cloud at 21 euros per user per month with a 25-user minimum, and self-hosted subscriptions from 100 euros per month (Basic) up to 4,500 euros per month (Enterprise). Check that your subscription plan covers the support level you expect for SSO questions, and budget the SAML work on its own line item, since it is a one-time configuration effort with recurring testing after upgrades.

What does authentik Enterprise add for GLPI sign-in?

The authentik pricing page lists Enterprise features such as Google Workspace and Microsoft Entra ID integrations, mTLS client certificate authentication, privileged access management, password history, enhanced audit logging and ticket-based support for subscriptions over $1k. It does not list SAML for GLPI as an Enterprise feature, so the SAML provider used in this integration is not, on that page, a reason to buy Enterprise. Whether audit logging or ticket-based support matters for your environment is a decision to make from your own requirements, and you should confirm current edition terms directly with authentik, since the license for code in the enterprise directory is separate from the MIT license covering most of the repository.

How DeployOpen scopes and delivers the GLPI SAML integration

DeployOpen approaches authentik and GLPI SAML integration as a fixed-scope piece of work inside your own infrastructure. The engagement starts with a written scope covering the authentik SAML provider, the GLPI side, attribute mapping and the local login fallback, followed by build, testing and handover.

How we scope

  • We confirm the authentik version and deployment method, including whether authentik runs on Docker Compose or Kubernetes.
  • We confirm the GLPI version, its web server and database, and whether GLPI is self-hosted in your environment.
  • We agree in writing which user attributes, groups and GLPI profiles are mapped, and which accounts keep local login.

How we build

  • We configure the authentik SAML provider and application, then exchange signing certificates and metadata with GLPI.
  • We map SAML attributes to GLPI user fields and profiles, and test each mapping with real test accounts.
  • We verify that the local login fallback works before SAML is enforced for regular users.

How we hand over

  • We document the provider settings, certificate locations, attribute mappings and fallback procedure for your team.
  • We record the GLPI and authentik upgrade steps, including plugin reactivation after GLPI major updates.
  • We walk your engineers through sign-in testing, failure cases and the steps to recover access if SAML breaks.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after the initial handover.
  • We can retest sign-in and mapping after authentik or GLPI version changes, based on the agreed retainer scope.
  • Quotes follow from the written scope, so ask for the included retest and support hours before signing.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.