Two-factor authentication: Prepare (Event)

Prev Next

Will be dispatched after the login was successful. The input data is a new instance of the 'two-factor authentication request'.

For example, the Two-factor authentification: Prepare (Actor) action can be used here to use a TOTP authenticator app (as of Lobster_data 4.5).

Alternatively, a custom 2FA method can be used, such as an e-mail with a generated PIN. In this case, any values can be written into the 'storage' of the given request object. The 'message' field can be used to display an alternative message to the user when entering the second factor.However, it is important that at least one value is stored in the 'storage', otherwise the second factor is skipped. This is not necessary when using the prepare action.

This event is part of the two-factor authentication concept and is described in more detail in the chapter Two-factor authentication (Concept).