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.

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.
| Option | Protocol | GLPI 11 and 12 | Status |
|---|---|---|---|
| glpisaml | SAML 2.0 | No (up to 10.9.99) | Archived in 11/2025 |
| phpsaml | SAML 2.0 | No | Archived in 08/2024 |
| OAuth SSO (Teclib) | OpenID Connect | Yes | GLPI Network plugin |
| SSO Login (NexTool) | OpenID Connect | Yes | Maintained; 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
- In the Entra ID portal, open App registrations > New registration. Give it a name (for example, “GLPI”).
- 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.
- 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.

- On the Overview page, note the Application (client) ID and the Directory (tenant) ID.
- Under Certificates & secrets > New client secret, create the secret and copy the Value right away: it is not shown again. Note the expiration date.

Step 2: configure the token
Under Token configuration > Add optional claim, token type ID:
emailandupn: 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 theemail_verifiedclaim;xms_edovis 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.

Step 3: API permissions
Under API permissions > Add a permission > Microsoft Graph:
| Permission | Type | When it is needed |
|---|---|---|
email, profile | Delegated | Always (identity at sign-in). |
User.Read | Delegated | To read job title, department, company, country, extension attributes and the on-premises AD login at sign-in. |
User.Read.All | Application | To import and synchronize users without them having to sign in. |
GroupMember.Read.All | Application | To 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.Alladded as a delegated permission does not work for synchronization, and the user record showsGRAPH_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:
- Provider: Microsoft Entra ID. Give the application a name.
- 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.
- Tenant: the directory ID, for a single tenant. For multiple organizations, use
organizationswith the list of accepted tenants, or tick Accept any tenant. - Roles claim:
groups, if you added the groups claim.

Step 5: how the user is found (and when they are created)
- First-match field:
upnis the default (the GLPI login equal to the corporate e-mail). With synchronized on-premises AD and users coming through LDAP, choosesAMAccountName. 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.

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.

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
- 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.
- 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.
- 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.

Important: with direct login turned on, emergency access is the login page address with
?noAUTO=1at the end, for examplehttps://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.

| Code | Cause and fix |
|---|---|
USER_NOT_FOUND | No GLPI user matches the first-match field. Create the user or adjust the login. |
TOKEN_EXCHANGE on every sign-in | Expired or wrong secret. Create a new one in Entra ID and paste it into the application. |
TENANT_NOT_ALLOWED | The account's tenant is not in the list of accepted tenants. |
DOMAIN_NOT_ALLOWED | The UPN or the e-mail is not in the allowed domains. |
EMAIL_NOT_VERIFIED | Automatic creation without the xms_edov claim in the token. |
JIT_EMAIL_TAKEN | Automatic creation found the e-mail on another account. Link the existing account. |
GRAPH_FORBIDDEN | User.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,upnand, if applicable, groups andxms_edovto 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=1address 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.
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