Skip to main content

Entra ID configuration

Microsoft's Entra ID can be used with eLabFTW. We can configure SAML authentication with it.

Note: this documentation is very much a work-in-progress. Contributions would be welcome.

Entra ID panel

Create application

The first step is to Register an application.

Set the name to eLabFTW or whatever you prefer.

Select supported account types and for the Redirect URI, add your eLabFTW FQDN followed by: /index.php?acs.

This should give you an App ID (GUID).

Setup SSO

From the SAML-based Sign-on panel register:

  • Identifier (Entity ID): https://<your-elabftw-fqdn>
  • Reply URL: https://<your-elabftw-fqdn>/index.php?acs

Add users

Add users to the application so they can use it.

eLabFTW configuration

Get the XML URL of the application from Entra ID, it should look like:

https://login.microsoftonline.com/<uuid>/federationmetadata/2007-06/federationmetadata.xml?appid=<appid-uuid>

In eLabFTW, on the Sysconfig Panel, in SAML, add that URL and click Refresh to create the IdP.

Configure the attributes like this: