> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.1/4.-admin-manual/4.13-set-up-multi-factor-authentication/4.13.5-qr-code-based-authentication.md).

# 4.13.5 QR Code Based Authentication

*QR code authentication is a process where a user's identity is verified using a unique QR code generated by an authentication system. When a user attempts to log in or access a secure resource, they are presented with a QR code on the screen.*

To configure the QR Code Based Authentication, follow the below steps -

1. Go to the **Authentication** tab in the sidebar.<br>

   <figure><img src="/files/FZ9Xtzwm2z74IpWX8wDx" alt=""><figcaption><p>Fig. 4.12.5.a: Navingating to Authentication section</p></figcaption></figure>

2. Click on the **kebab menu (three dots)** on the right side of the browser flow. Select **Duplicate**. A popup will appear.<br>

   <figure><img src="/files/ZC8fjPfWISthTXKRqmpr" alt=""><figcaption><p>Fig 4.12.5.b: Duplicating the existing browser flow</p></figcaption></figure>

3. Provide a **Name** for the flow, "QR Flow". Click **Duplicate**. You will be redirected to the new flow configuration.<br>

   <figure><img src="/files/5poJiKWVuaT99Elhgptj" alt=""><figcaption><p>Fig 4.12.5.c: Giving a name to the new browser flow for QR Code login</p></figcaption></figure>

4. Delete everything under **QR Flow forms**.<br>

   <figure><img src="/files/cu6gJjgr5U479hlGhwvd" alt=""><figcaption><p>Fig 4.12.5.d: Duplicated browser flow configuration page for QR Code login</p></figcaption></figure>

5. Click on the **plus** icon on the right side of the **QR Flow** **forms**. Select **Add Execution**. A popup will appear to select an execution.<br>

   <figure><img src="/files/LVgcQyPYNWMJisVgXUNW" alt=""><figcaption><p>Fig 4.12.5.e: Proceeding to add a new execution to QR Code login flow</p></figcaption></figure>

6. Search for **QR Authenticator**, select it and click **Add**.<br>

   <figure><img src="/files/RO1OpAZTpe9O7lkLkUPX" alt=""><figcaption><p>Fig 4.12.4.f: Select 'QR Authenticator' execution to add</p></figcaption></figure>

7. Click on the **settings menu (gear icon)** on the right side of the **QR Authenticator**. A popup will appear to configure the QR settings.<br>

   <figure><img src="/files/Uqq0mVq65gHTMAh0zl0c" alt=""><figcaption><p>Fig 4.12.5.g: Proceeding to configure QR Code login</p></figcaption></figure>

8. Provide an **Alias**. **Set Expire in seconds** and click **Save**.<br>

   <figure><img src="/files/NwAnkurzGpMB5vjTmEAi" alt=""><figcaption><p>Fig 4.12.5.h: Configuring QR Code login</p></figcaption></figure>

9. Change **Requirement** of the QR Authenticator from **Disabled** to **Required**.<br>

   <figure><img src="/files/X9gg6iCFOzXr3awxBxMx" alt=""><figcaption><p>Fig 4.12.5.i: Changing the 'Requirement' of QR Code login</p></figcaption></figure>

10. Click on the **Actions**, on the top right of the page, and then **Bind flow**. A popup will appear.<br>

    <figure><img src="/files/bZVbrz0Vc4KETP6coLZW" alt=""><figcaption><p>Fig 4.12.5.j: Proceeding to bind the login QR Code login flow</p></figcaption></figure>

11. Select the **Browser flow** as the **binding type** and click **Save**.<br>

    <figure><img src="/files/BAJQoF6AXghAdNO8Yam1" alt=""><figcaption><p>Fig 4.12.5.j: Selecting a flow to bind QR Code login to</p></figcaption></figure>

The QR Code based Authentication is enabled now.<br>
