Extensions Database 3.2 / 3.3 / 4.0 ⇒ 3.3 & 4.0 WebAuthn Passkey & Biometric Login

3.2 & 3.3 & 4.0
Post Reply Previous topicNext topic
User avatar

Topic Author
dmzx
Founder
Founder
Posts: 7035
Joined: 13 Jan 2014, 21:45
582 given 4
Starter · Lv 8

WebAuthn Passkey & Biometric Login

Post by dmzx »

Extension Name: WebAuthn Passkey & Biometric LoginAuthor: [hidden]

Special thanks to: [hidden]

Extension Description:
WebAuthn passkey and biometric quick login for phpBB

[hidden] [hidden]

[hidden]
- A malformed request to the public passkey login endpoint (a JSON string or number, a response that is not an object, a field of the wrong type) now gets a normal error message instead of a server error; every nested field is checked before it is used and `\Throwable` is caught.
- Passkey names can contain emoji and other four byte characters. They are stored as numeric character references (the column is `VCHAR_UNI`) and shown as the real characters in the UCP and in the delete confirmation. Registering or renaming a passkey with an emoji no longer ends in a database error.
- A one-time challenge is consumed atomically (a conditional delete that must affect one row): of several simultaneous requests with the same challenge only one can succeed.
- The install no longer widens `credential_id` to 512 characters (a primary key over the MySQL/MariaDB 767 byte limit); the column stays 255 and holds the SHA-256 of the credential ID, the raw ID is stored in `credential_id_b64`. `sign_count` is an unsigned 32-bit column.
- On the board index a guest's page view no longer writes a challenge; the challenge is requested when the pointer, keyboard focus or a touch reaches the passkey button. On the login page it is still fetched at once.
- An answer of the server (for example "Your account is not activated") is shown at once instead of after a second click.
- The member's name is sent to the authenticator as the real name (`Tom & Jerry`, not `Tom & Jerry`).
- Queries name their columns and the primary key lookups stop after one row.
- Removed the unused service arguments (`dbal.conn`, `core.root_path`, `core.php_ext`, `language`) and six unused CSS rules. The CBOR/DER helper code and the JavaScript use one statement per line.
- `ext.php` checks the PHP and phpBB version (and the required extensions) before the extension is enabled, with a clear message.

Screenshots:
[hidden]
Passkey button above the password form on the login page

[hidden]
Passkey button in the login form on the board index

[hidden]
Your passkeys in the user control panel

[hidden]
Renaming a passkey

[hidden]
Confirmation before a passkey is deleted

[hidden]
Passkey settings in the ACP

[hidden]
Message after saving the settings with a lower passkey limit

[hidden]
Passkey limit reached: the add form is replaced by a notice

Extension Download:
[hidden]

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `webauthn`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `webauthn` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/webauthn/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `WebAuthn Passkey & Biometric Login` under the Disabled Extensions list, and click its `Enable` link.
Links, images and downloads in this post are hidden Log in or register, then thank this post to see them. Login Register
cgozzie75, iorG19, Bermúdez, TomaGo, Tarantino and 1 other thanked this post
Last edited by dmzx on 28 Oct 2026, 13:55, edited 2 times in total.
Reason: Screenshots added

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 7035
Joined: 13 Jan 2014, 21:45
582 given 4
Starter · Lv 8

Re: WebAuthn Passkey & Biometric Login

Post by dmzx »

First post updated.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 7035
Joined: 13 Jan 2014, 21:45
582 given 4
Starter · Lv 8

Re: WebAuthn Passkey & Biometric Login

Post by dmzx »

First post updated.

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 7035
Joined: 13 Jan 2014, 21:45
582 given 4
Starter · Lv 8

Re: WebAuthn Passkey & Biometric Login

Post by dmzx »

First post updated.
jekas thanked this post

User avatar

Topic Author
dmzx
Founder
Founder
Posts: 7035
Joined: 13 Jan 2014, 21:45
582 given 4
Starter · Lv 8

Re: WebAuthn Passkey & Biometric Login

Post by dmzx »

First post updated.

Post Reply Previous topicNext topic