Skip to content

Fortified IDDocs

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.

Common Authenticator configuration can be found here.

NameDescriptionDefault valueMandatory
username_parameterName of the property to where the username is exportedusernamefalse
namespaceNamespace used to communicate with other modulesdefaultfalse
webroot_dirSee common authenticator configurationweb/authenticator/webauthnfalse
auto_startIf 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
truefalse
  • 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)

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.

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"
}
{
"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"
}