SSO Login on GLPI with Entra ID: what it is, key features and step by step

NexTool's SSO Login module brings Microsoft account (Entra ID) sign-in to GLPI 11 and 12: profile from the group, multi-tenant, user import and synchronization. See what it does, how it compares with the community options and the complete step-by-step.

In this article14 sections

Signing in to GLPI with the same Microsoft account as your e-mail, with your company's MFA, and landing with the right profile already in place: that is what SSO Login does. In this guide we explain what the module is, what it is for, how it differs from the community options and, above all, the complete step-by-step to configure sign-in with Microsoft Entra ID (formerly Azure AD) on GLPI 11 and GLPI 12.

Version described: SSO Login 0.13, for GLPI 11 and 12, with NexTool plugin 6.49 or later. If you are still deciding between SAML and OIDC, or you run GLPI 10, start with our comparison of SSO in GLPI with Entra ID.

What SSO Login is

SSO Login is a NexTool plugin module that adds a Sign in with Microsoft button to the GLPI login page (and, if you want, Sign in with Google or one for any OpenID Connect provider, such as Keycloak and Okta). Sign-in happens at the provider, with the password and MFA the company already uses; GLPI receives a signed identity back, checks the signature, the issuer, the tenant and the expiry, and opens the session. No password passes through GLPI and no token is stored.

GLPI login page with the SSO Login Sign in with Microsoft button below the username and password form
The module provides the button ready to use, below the username and password form.

What it is for

  • Companies on Microsoft 365: employees sign in with their e-mail account. Whoever leaves the company and is blocked in Entra ID stops getting into GLPI at the same moment, without anyone having to remember to disable the account there.
  • Profile from the group: the GLPI profile, entity and groups come from the security group, department, job title, country or any data Entra ID sends, through the authorization assignment rules you already know.
  • MSPs and multi-customer service desks: a single GLPI accepts users from several tenants. You choose one tenant, a list of tenants or any Microsoft organization.
  • Synchronized on-premises AD: users who already have an LDAP account in GLPI are found by their AD login (sAMAccountName), without renaming anyone. If your GLPI still imports users from AD, see also the guide to LDAP and Active Directory in GLPI 11.
  • Account lifecycle: import of Entra ID users before their first login and a daily synchronization that disables in GLPI whoever was blocked or deleted there.

How it differs from the community options

The two SAML plugins most used with GLPI have stopped: glpisaml was archived by its author on November 3, 2025, and its code declares compatibility up to GLPI 10.9.99; its predecessor, phpsaml, was archived in August 2024. On Teclib's side, OAuth SSO is listed among the GLPI Network plugins, its subscription.

OptionProtocolGLPI 11 and 12Status
glpisamlSAML 2.0No (up to 10.9.99)Archived in 11/2025
phpsamlSAML 2.0NoArchived in 08/2024
OAuth SSO (Teclib)OpenID ConnectYesGLPI Network plugin
SSO Login (NexTool)OpenID ConnectYesMaintained; new versions through the NexTool catalog

What SSO Login adds day to day:

  • Real multi-tenancy, with a list of accepted tenants and consent per customer.
  • Entra ID criteria in GLPI rules: groups, UPN, domain, tenant, user type (member or guest), account synchronized from on-premises AD, job title, department, company, usage location, country, city, extension attributes 1 to 15 and extra token claims. The same criteria apply at sign-in and during synchronization.
  • Import, synchronization and deactivation of accounts through Microsoft Graph, with a preview before writing anything.
  • Safeguards that prevent incidents: an external login does not take over a local or administrator account unless you allow it; automatic creation does not duplicate users; the local administrator always has an emergency path.
  • Diagnostics on screen: a Test tab that validates the configuration without signing in, logs with the reason code for every rejection and a reference on the error page for the user to give to support.

Before you start

  • GLPI 11 or 12 with NexTool plugin 6.49 or later and the SSO Login module installed and licensed (NexTool > Modules).
  • GLPI published over HTTPS at its final address. The redirect URI depends on it.
  • An account allowed to register applications in Entra ID and, for synchronization, to grant admin consent.
  • At least one GLPI administrator with an active local username and password.

Step 1: register the application in Entra ID

  1. In the Entra ID portal, open App registrations > New registration. Give it a name (for example, “GLPI”).
  2. Under Supported account types, choose this organizational directory only if GLPI belongs to your company, or accounts in any organizational directory if it serves customers from other tenants. Personal accounts (@outlook.com) are not needed.
  3. Under Redirect URI, platform Web, paste the address the module shows ready to copy in the GLPI application, in the format https://glpi.yourcompany.com/plugins/nextool/sso/ssologin/callback.
App registration in Microsoft Entra ID with multiple tenants and the SSO Login redirect URI
Registration for multiple organizations, with the redirect URI copied from the module.
  1. On the Overview page, note the Application (client) ID and the Directory (tenant) ID.
  2. Under Certificates & secrets > New client secret, create the secret and copy the Value right away: it is not shown again. Note the expiration date.
Application overview in Entra ID with the Application (client) ID and Directory (tenant) ID fields
Both IDs go into the application in GLPI (blurred in the image).

Step 2: configure the token

Under Token configuration > Add optional claim, token type ID:

  • email and upn: always. They are what match the user on the first login.
  • xms_edov: if the module will create users on their first login. Entra ID does not have the email_verified claim; xms_edov is how the module knows the e-mail belongs to a verified domain.
  • Groups (Add groups claim > Security groups > Group ID): if the GLPI profile comes from the Entra ID group.
Entra ID token configuration with the email, groups and upn claims
email, upn and groups in the ID token.

Step 3: API permissions

Under API permissions > Add a permission > Microsoft Graph:

PermissionTypeWhen it is needed
email, profileDelegatedAlways (identity at sign-in).
User.ReadDelegatedTo read job title, department, company, country, extension attributes and the on-premises AD login at sign-in.
User.Read.AllApplicationTo import and synchronize users without them having to sign in.
GroupMember.Read.AllApplicationTo read group names during synchronization and filter the import by group.

Then click Grant admin consent; the Status column must show “Granted”.

Warning: User.Read.All added as a delegated permission does not work for synchronization, and the user record shows GRAPH_FORBIDDEN. It must be an Application permission. In a multi-tenant application, each customer's administrator must also consent.

Step 4: create the application in GLPI

Under Setup > SSO Login > Add:

  1. Provider: Microsoft Entra ID. Give the application a name.
  2. Client ID and Client secret: the ones from Step 1. The secret is stored encrypted and is never displayed again; when editing, leave it blank to keep the current one.
  3. Tenant: the directory ID, for a single tenant. For multiple organizations, use organizations with the list of accepted tenants, or tick Accept any tenant.
  4. Roles claim: groups, if you added the groups claim.
Microsoft Entra ID application form in SSO Login with client ID, encrypted secret, tenant, groups claim and redirect URI to copy
The redirect URI for Step 1 comes from here, with a copy button.

Step 5: how the user is found (and when they are created)

  • First-match field: upn is the default (the GLPI login equal to the corporate e-mail). With synchronized on-premises AD and users coming through LDAP, choose sAMAccountName. After the first sign-in, the link becomes the fixed identifier of the Microsoft account: changing the e-mail or the name there does not break sign-in.
  • Linking policy: First login (only users who already exist in GLPI get in), Pre-linked only or First login + creation, which creates the account for anyone who does not exist. Creation requires allowed domains and never duplicates: if the e-mail already belongs to another account, the sign-in is rejected with JIT_EMAIL_TAKEN.
  • Local accounts and administrators are not taken over by an external login, unless you turn that option on in the application.
  • Extended profile: optional; writes to GLPI the name, job title, phone numbers, the Entra ID e-mails and, for users not in on-premises AD, the manager as supervisor and the Employee ID as registration number.
SSO Login Linked users tab with the GLPI login, the first-match field and the last login
Who has already signed in, which field they were linked by and when.

Step 6: profile, entity and group through rules

Under Administration > Rules > Authorizations assignment rules, create a rule with the criterion SSO Login - Roles (claim) equal to the object ID of the security group, and the profile, entity and recursive actions. The profile is assigned as dynamic: whoever leaves the group in Entra ID loses the profile on the next login or the next synchronization. If the topic is new to you, the guide to profiles and permissions in GLPI helps you design the profiles first.

GLPI authorization assignment rule with the Entra ID group criterion and the SSO Login application criterion
Profile from the Entra ID group, together with the application criterion.

Tip: every rule with an SSO criterion should also have SSO Login - Application is. Outside an SSO login these criteria arrive empty, and a negative condition (“Country is not Chile”) matches precisely the empty value. To check which rule matched, Rule Inspector shows the evaluation step by step.

Step 7: test and release

  1. Open the application's Test tab. It validates the GLPI libraries, the tenant discovery and Microsoft's signing keys without signing in, and warns about risky settings.
  2. Mark the application as Active: the button appears on the login page. Do the first sign-in with a test account and check the Logs tab.
  3. Optional, in the module's Settings tab: Go straight to SSO login (whoever opens GLPI goes to Microsoft without seeing the login page) and Hide the username and password form. Both require confirming that a local administrator exists.
SSO Login application Test tab with libraries, tenant discovery and signing keys validated without signing in
The Test tab validates everything that can be validated without signing in.

Important: with direct login turned on, emergency access is the login page address with ?noAUTO=1 at the end, for example https://glpi.yourcompany.com/index.php?noAUTO=1. Put it in your runbook before you need it.

By default, the Logout button ends only the GLPI session, and Outlook and Teams on the web stay open in the browser. On shared computers, turn on Also sign out of the provider in the application.

Step 8 (optional): import and synchronize with Entra ID

With the application permissions from Step 3, the User import tab of the Microsoft application brings in employees before their first login:

  • Filter the tenant's enabled members by group (including inherited membership), UPN domain, usage location, department and company.
  • Check the preview: who would be created or updated and with which profiles and entities the rules would assign. Guests, disabled accounts and personal accounts never get in.
  • Import the selection or all eligible users, in New only mode (default), New and updates or Updates only.
  • Turn on daily synchronization at the time you prefer. It runs in batches that respect the Microsoft Graph limit and disables in GLPI whoever Entra ID confirms as blocked or deleted. A network or permission failure does not disable anyone.

On each user's record, the Entra ID information tab shows what Microsoft reported, like the LDAP information tab, with the Force synchronization with Entra ID button.

When something goes wrong

The error page shows a reference and the time; you can search for it in the application's Logs tab. For the technical cause, diagnostic mode turns on for 24 hours with one button and turns itself off.

SSO Login application Logs tab with each sign-in, the result and the reason code, without tokens
Each sign-in with its result and reason code.
CodeCause and fix
USER_NOT_FOUNDNo GLPI user matches the first-match field. Create the user or adjust the login.
TOKEN_EXCHANGE on every sign-inExpired or wrong secret. Create a new one in Entra ID and paste it into the application.
TENANT_NOT_ALLOWEDThe account's tenant is not in the list of accepted tenants.
DOMAIN_NOT_ALLOWEDThe UPN or the e-mail is not in the allowed domains.
EMAIL_NOT_VERIFIEDAutomatic creation without the xms_edov claim in the token.
JIT_EMAIL_TAKENAutomatic creation found the e-mail on another account. Link the existing account.
GRAPH_FORBIDDENUser.Read.All is missing as an application permission, with consent.
“Need admin approval”The customer's tenant does not let users approve external applications; their administrator approves it.

Deployment checklist

  • Register the application with the right account type and the redirect URI copied from the module.
  • Add email, upn and, if applicable, groups and xms_edov to the token.
  • Grant the application permissions as application permissions, with consent, if you will synchronize.
  • Note the secret's expiration date and open a recurring ticket two weeks before it.
  • Always create profile rules with the application criterion.
  • Run the Test tab and do a real sign-in before turning on direct login.
  • Keep an active local administrator and the ?noAUTO=1 address in the runbook.

SSO Login is in the NexTool catalog, with the full feature list and the configuration video. If you would rather have us deploy and support SSO in your GLPI, talk to us about GLPI support and maintenance.

Sources: glpisaml repository on GitHub (archived on 11/03/2025) and the setup.php with the version limit; phpsaml repository on GitHub (archived on 08/16/2024); Teclib's OAuth SSO documentation. GLPI is a registered trademark of Teclib'. NexTool is not affiliated with Teclib'. Microsoft and Entra ID are trademarks of Microsoft.


Reviewed by the NexTool Solutions team.

Advertising

Frequently Asked Questions

It is a NexTool plugin module for GLPI 11 and 12 that adds to the login page a button to sign in with a Microsoft (Entra ID) account, Google or any OpenID Connect provider, with the company's MFA and the GLPI profile coming from the group or other provider data.

No. The module is for GLPI 11 and 12. On GLPI 10, see the SAML and OIDC options in our comparison of SSO with Entra ID.

For sign-in, email, profile and User.Read, as delegated permissions. To import and synchronize users, User.Read.All and GroupMember.Read.All as application permissions, with admin consent.

Yes. The application accepts one tenant, a list of tenants (organizations) or any Microsoft organization. In a multi-tenant application, each customer's administrator grants consent.

Through authorization assignment rules, with the SSO Login - Roles (claim) criterion equal to the Entra ID security group ID, or with other criteria such as department, job title and country. The profile is assigned as dynamic.

Because the optional xms_edov claim is missing from the token. Entra ID does not send email_verified; with xms_edov, the module knows the e-mail belongs to a verified domain.

The local administrator signs in through the login page address with ?noAUTO=1 at the end. The Logs tab shows the reason code; TOKEN_EXCHANGE on every sign-in is usually an expired client secret.

Comments

Comments on this post come from GitHub (giscus). When you load them, your browser connects to GitHub, which receives your IP address and may set its own cookies.

To load them automatically, enable functional cookies

Need help?