| Authentication | Users | Password |
|---|---|---|
| ✔ | ✔ | ✔ |
By default, only the configured authentication backend is available for users.
Contrary to multiple backend stacking, backend choice will present all available authentication methods to users, who will choose the one they want.
The choice will concern three backends:
The chosen backends will be registered in session:
Authentication choice will also be registered in session:
In Manager, go in General Parameters > Authentication modules and choose Choice for authentication.
Attention
When Choice is selected for authentication, values for Users and Password modules are also forced to Choice.
Then, go in Choice Parameters:

Define here:
$env->{urldc} =~ /test1\.example\.com/
Changed in version 2.20.0.
You can prefix the key name with a digit to order them. The digit will not be shown on portal page. Underscore characters are also replaced by spaces.
For example, use 2_France_Connect to use France Connect as the second choice.
You can also override some LLNG parameters for each chain. See Parameters list to have the key names to use
You can customize the logo by copying a PNG file that matches the Name of the choice in /usr/share/lemonldap-ng/portal/htdocs/static/common/modules/.
For example: 2_France_Connect.png
Federated authentication need pdata cookie. SameSite cookie value must be set to “Lax” or “None”. See SSO cookie parameters
Authentication request to another URL than Portal URL can lead to a persistent loop between Portal and a redirection URL (pdata is not removed because domains mismatch). To avoid this, you have to set pdata cookie domain by editing lemonldap-ng.ini in section [portal]:
[portal]
pdataDomain = example.com