website/integrations/chat-communication-collaboration/rocketchat/index.md
Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection. It is licensed under the MIT License with some other licenses mixed in. See Rocket.chat GitHub for licensing information.
:::info This is based on authentik 2022.3.1 and Rocket.chat 4.5.1 using the Docker Compose install. Instructions may differ between versions. :::
The following placeholders are used in this guide:
rocket.company is the FQDN of Rocket.chat installation.authentik.company is the FQDN of authentik installation.:::info 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. :::
To support the integration of Rocket.chat with authentik, you need to create an application/provider pair in authentik.
Strict redirect URI to https://rocket.company/\_oauth/authentik.:::info Only settings that have been modified from default have been listed.
You may have different settings for some of the group and role mapping for advanced configurations. The settings below are the base settings to connect authentik and Rocket.chat. :::
In Rocket.chat, follow the procedure below:
Log in as a System Administrator, click on your avatar, and choose Administration
Scroll down and click on OAuth
In the top right corner, click Add custom oauth
Give your new oauth the name of Authentik, then click Send
Scroll down to the new OAuth application, expand the dropdown, and enter the following settings:
Click Save changes in the top right corner of the screen
:::info By default, Rocket.chat will attempt to use two-factor authentication with any new user coming in to the system and allows users to change their information :::
To disable changing user information and other options inside Rocket.chat:
Navigate to the Accounts settings to change the following:
If you are using Two Factor authentication through authentik:
Navigate to the Accounts settings, Scroll Down to Two Factor Authentication and turn off Enable Two Factor Authentication
Registration Options Navigate to the Accounts settings, Scroll Down to Registration and choose your registration options, such as: