[[_recovery-codes]] === Recovery Codes (RecoveryCodes) You can configure Recovery codes for two-factor authentication by adding 'Recovery Authentication Code Form' as a two-factor authenticator to your authentication flow. For an example of configuring this authenticator, see xref:webauthn_{context}[WebAuthn]. ifeval::[{project_product}==true] :tech_feature_name: RecoveryCodes :tech_feature_setting: -Dkeycloak.profile.feature.recovery_codes=enabled :tech_feature_id: recovery-codes include::../templates/techpreview.adoc[] endif::[] ifeval::[{project_community}==true] [IMPORTANT] ==== Please note that Recovery Codes support is in development. Use this feature experimentally. ==== endif::[]