# How to add to ESSO a second factor of authentication?

## Introduction

Soffid allows you to add a second factor of authentication by configuring a parameter in Soffid Console and the Second Factor Authentication (2FA).

## Step by step

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">1. </span>First of all, you need to configure the **addon.federation.essoidp** parameter. The value must be the Identity Provider Identifier:

[![image-1685446185526.png](https://bookstack.soffid.com/uploads/images/gallery/2023-05/scaled-1680-/image-1685446185526.png)](https://bookstack.soffid.com/uploads/images/gallery/2023-05/image-1685446185526.png)

<span style="color: #a6d100; font-weight: bold; font-size: 18px;">2. </span>Then, you need to add the 2FA in the proper Identity Provider:

[![image-1685521019693.png](https://bookstack.soffid.com/uploads/images/gallery/2023-05/scaled-1680-/image-1685521019693.png)](https://bookstack.soffid.com/uploads/images/gallery/2023-05/image-1685521019693.png)