Integrate with The Lounge
Support level: Community
What is The Lounge
The Lounge is a modern, web-based IRC (Internet Relay Chat) client that allows users to stay connected to IRC servers even when offline.
This guide assumes you already deployed an LDAP Provider, if not check here. If you made any changes, e.g. using a different name for the user, make sure to apply them here as well.
Preparation
The following placeholders are used in this guide:
authentik.company
is the FQDN of the authentik LDAP outpost installation.dc=company,dc=com
the Base DN of the LDAP outpost. If you followed the LDAP provider guide this is:dc=goauthentik,dc=io
ldap_bind_user
the username of the desired LDAP Bind User. If you followed the LDAP provider guide this is:ldapservice
This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
authentik configuration
Follow official documentation to create an LDAP outpost. If you already have an LDAP outpost configured, you can use it without additional setup. No further configuration in authentik is needed.
The Lounge configuration
In the config.js
file find the ldap
section and make the following changes:
- Set
enable
totrue
- Set
url
toldap://authentik.company
- Set
primaryKey
tocn
- In the
searchDN
section make the following changes:- Set
rootDN
tocn=ldap_bind_user,ou=users,dc=company,dc=com
- Set
rootPassword
to the password you have given to theldap_bind_user
- Set
filter
to(&(objectClass=user)
- Alternatively, if you want to restrict access by group, you can set it to:
(&(objectClass=user)(memberOf=cn=group_name,ou=groups,dc=ldap,dc=company,dc=com))
- Alternatively, if you want to restrict access by group, you can set it to:
- Set
base
todc=ldap,dc=company,dc=com
- Set
- Finally, save the
config.js
file and restart The Lounge. You should be able to log in via LDAP now, as long as a user with the same name exists.