Passkey validator
Configuration and usage guidance for Passkey validator in Fortified ID Access.
Other components that this module uses or need:
- Web -> WebAuthnValidation
To authenticate users using a Passkey you need to have a database connection. ref:tokens/ - Enrollment -> Check out the Enrollment documentation.
To be able to authenticate you must have enrolled for a token.
Configuration
Section titled “Configuration”Common Authenticator configuration can be found here.
| Name | Description | Default value | Mandatory |
|---|---|---|---|
| username_parameter | Name of the property to where the username is exported | username | false |
| namespace | Namespace used to communicate with other modules | default | false |
webroot_dir | See common authenticator configuration | web/authenticator/webauthn | false |
auto_start | If true, the authentication will start automatically when the user is presented with the UI (no click required) If false, the user is presented with a button to start the authentication | true | false |
{ "id": "passkey", "type": "Passkey", "config": { "base_path": "/saml/authn", "context_path": "/saml/authn/webauthn" }}Logging
Section titled “Logging”- WEB_100022("Passkey validated")
- IDENTIFIER (user trace id)
- CUSTOMER_IDENTIFIER (if configured)
- SOURCE_ADDRESS (ip of the remote session)
- WEB_100023("Passkey validation failed")
- IDENTIFIER (user trace id)
- CUSTOMER_IDENTIFIER (if configured)
- SOURCE_ADDRESS (ip of the remote session)
Global state
Section titled “Global state”After successful authentiation, the authenticator populates the configured username property with the user identifier obtained during the Web Authentication process.
The following documentation contains links to the document Web Authentication: An API for accessing Public Key Credentials Level 2, W3C Recommendation, 8 April 2021.
Begin authentication
Section titled “Begin authentication”Initialize a new authentication with the following request to the authenticator API:
{ "type": "options"}The server responds with a PublicKeyCredentialRequestOptions. Use the response to obtain a AuthenticatorAssertionResponse, according to the Web Authentication specification, and return the assertion to the authenticator API:
{ "type": "verification", "data": { "assertion": <AuthenticatorAssertionResponse> }}The server responds with AUTHORIZED or UNAUTHORIZED:
{ "status": "AUTHORIZED|UNAUTHORIZED"}Translation keys
Section titled “Translation keys”{ "webauthn.start_validate": "Login", "webauthn.verifying": "Verifying passkey", "webauthn.verified": "Passkey verified", "webauthn.redirecting": "Redirecting...", "webauthn.validation_error.authenticator_failure": "Passkey authentication failed", "webauthn.validation_error.verification_failure": "Passkey verification failed", "webauthn.validation_error.unknown_error": "Unknown error", "webauthn.reset_button": "Go back", "allow-cookies-body": "To save your language settings on this device you need to approve a language cookie.", "allow-cookies-button": "Approve language cookie", "authentication.help_text": "", "change_language": "Change language"}{ "webauthn.start_validate": "Logga in", "webauthn.verifying": "Säkerhetsnyckel verifieras...", "webauthn.verified": "Säkerhetsnyckel verifierad", "webauthn.redirecting": "Omdirigerar...", "webauthn.validation_error.authenticator_failure": "Autenticering med säkerhetsnyckel misslyckades", "webauthn.validation_error.verification_failure": "Verifiering av säkerhetsnyckel misslyckades", "webauthn.validation_error.unknown_error": "Okänt fel inträffade", "webauthn.reset_button": "Gå tillbaka", "allow-cookies-body": "Vill du spara dina språkinställningar på denna enhet behövs ett godkännande av språk-cookie.", "allow-cookies-button": "Godkänn språk-cookie", "authentication.help_text": "", "change_language": "Byt språk"}