---
title: How to Enable 2FA on Keycloak for LEM Authentication
slug: edgemanager/how-to-enable-2fa-on-keycloak-for-lem-authentication
docTags: 
createdAt: 2024-06-27T16:09:28.287Z
---

You can enable two-factor authentication through Keycloak to securely authenticate your Litmus Edge Manager (LEM) account.

**To enable 2FA on Keycloak:**

1. Log in to *Litmus Edge Manager* and navigate to **Dashboard**.
   ![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/05YE46Z1C1en2OJ9zmiiI_image.png "LEM Dashboard")
2. Click on your **profile&#x20;**&#x69;con in the upper right corner and select **Profile**.
   ![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/fDUi9iNCdFCytvMl5AwKV_image.png "LEM Dashboard Profile Icon")
3. The *KEYCLOAK* profile opens in a new b.&#x20;
4. Click o&#x6E;**&#x20;Account security&#x20;**&#x69;n the left sidebar and selec&#x74;**&#x20;Signing in** from the drop-down menu.
   ![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/RKBDwBAU-RJD9pLcP9Zjv_image.png "KEYCLOAK - Account security page")
5. Click the **Set up Authenticator application** button next to the *Two-factor authentication* section.
   ![](https://api.archbee.com/api/optimize/SSUUxKZUk9bFTEPNn_6Zo/3uhCs1A5w-41y6zA28DFM_image.png "KEYCLOAK - Account security - Signing in page")
6. You will be redirected to the *Update password&#x20;*&#x73;creen.

