> ## Documentation Index
> Fetch the complete documentation index at: https://docs.authsignal.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Adding passkey MFA to your Keycloak login flow

> Learn how to add passkey MFA to your Keycloak login flow with Authsignal.

## Overview

In the [previous guide](/integrations/keycloak/keycloak-mfa), we demonstrated how to add an MFA step to your Keycloak login flow using Authsignal.

In this guide, we will add passkey MFA to your Keycloak login flow using Authsignal's pre-built UI.

## Configuration

Set up passkeys by following the steps in [Authsignal's pre-built UI + passkeys configuration guide](/authentication-methods/passkey/prebuilt-ui).

## Testing the flow

The next time users log in and complete an MFA challenge, they will then be prompted to add a passkey.

Once users have added a passkey, they will be prompted to use passkeys for MFA by default.

### Passkey upgrade flow demo

<Frame caption="Authsignal's pre-built UI passkey upgrade step.">
  <video controls className="w-full aspect-video" src="https://mintcdn.com/authsignal-23/8bvDamO56aVu-Ay2/images/docs/integrations/keycloak/keycloak-add-passkey.mp4?fit=max&auto=format&n=8bvDamO56aVu-Ay2&q=85&s=91137c700912fe5e71ae745c65d60de3" data-path="images/docs/integrations/keycloak/keycloak-add-passkey.mp4" />
</Frame>

### Passkey being used for MFA demo

<Frame caption="Using a passkey as a secondary factor via Authsignal pre-built UI.">
  <video controls className="w-full aspect-video" src="https://mintcdn.com/authsignal-23/8bvDamO56aVu-Ay2/images/docs/integrations/keycloak/keycloak-passwordless-sign-in-passkey.mp4?fit=max&auto=format&n=8bvDamO56aVu-Ay2&q=85&s=67b600e77cd8470721561487c7f7833c" data-path="images/docs/integrations/keycloak/keycloak-passwordless-sign-in-passkey.mp4" />
</Frame>

## Next steps

In the next guide, we will demonstrate how to set up passkey autofill.
This will allow users to use their passkeys by clicking on the username or password input fields.
