Skip to content

How to Place a Passkey Button Anywhere

A landing page for a campaign, a members’ page or a custom login page can carry passkey sign in too. On the demo, a page called Passkey sign in holds both blocks.

Step 1: Add the Passkey Login Button block

Section titled “Step 1: Add the Passkey Login Button block”

In the block editor, search for passkey. Add Passkey Login Button. In the block settings, set Text, such as “Sign in with Face ID or fingerprint”, and Redirect To, the address to land on.

The block inserter with the Passkey Login Button and Passkey Manager blocks

Leave Text empty to use the Login Button Text from Configuration → General. Leave Redirect To empty to stay on the same page.

Add Passkey Manager below it. It shows nothing to signed out visitors, and the full passkey list to signed in ones.

Signed out, the page shows the button with your text, without the OR divider the login forms have.

The page signed out, with Sign in with Face ID or fingerprint

On the demo, John pressed it with his Android phone and landed on the shop, as Redirect To said. The Activity log records it with Where set to Shortcode.

Signed in, the button hides itself and the manager lists the visitor’s passkeys and recovery codes.

The same page signed in, with Amara’s passkeys

The same two controls come as shortcodes, for classic pages and page builders:

[ddwcbl_biometric_login_button_shortcode text="Sign in with Face ID or fingerprint" redirect_to="https://example.com/shop/"]
[ddwcbl_add_biometric_details_shortcode]

Elementor has widgets with the block names. The shortcode names can be changed under Shortcodes & Blocks.