Integrate with The Lounge
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.companyis the FQDN of the authentik installation.dc=company,dc=comthe Base DN of the LDAP outpost. If you followed the LDAP provider guide this is:dc=goauthentik,dc=ioldap_bind_userthe 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.
LDAP Configuration
authentik Configuration
Follow the instructions to create an LDAP outpost and configure access via the outpost. No additional authentik configuration needs to be configured.
The Lounge configuration
In the config.js file find the ldap section and make the following changes:
- Set
enabletotrue - Set
urltoldap://authentik.company - Set
primaryKeytocn - In the
searchDNsection make the following changes:- Set
rootDNtocn=ldap_bind_user,ou=users,dc=company,dc=com - Set
rootPasswordto the password you have given to theldap_bind_user - Set
filterto(&(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
basetodc=ldap,dc=company,dc=com
- Set
- Finally, save the
config.jsfile and restart The Lounge. You should be able to log in via LDAP now, as long as a user with the same name exists.