Configure WebAuthn with Domino REST API and Domino 14 or greater
WebAuthn (Passkey) authentication is enabled by default and can be configured to integrate with the Passkey support in Domino 14 via JSON files in keepconfig.d.
About this task
The procedure guides you to log in to both Domino REST API and Domino 14 using the same passkey.
Prerequisites
- You must be an administrator in Domino REST API WebUI.
- You must be using Domino 14 or greater.
- The passkey had been created by the administrator of Domino and saved as a
passkey.nsf.
Procedure
- Create a JSON file using text/code app such as VS Code, Notepad, Notepad++.
-
Copy the JSON object named
webauthnto the JSON file.3. Change the value of the{ "webauthn": { "attestation": "direct", "rpName": "Keep RP", "rpId": "domino.URL.com" } }rpIdparameter with the same URL configured in the Domino directory.{ "webAuthnActive": true, "webauthn": { "attestation": "direct", "rpName": "Keep RP", "rpId": "domino.somecompany.com" } }Items Description attestationCan be one of "none", "indirect", "direct", or "enterprise" rpNameIt's a name that the user might see when logging in, depending on their user interface. The default setting is "Domino REST API IdP", whereas the core Domino HTTP stack uses the name of the website document, which could be viewed as "Production Servers" or any other chosen name. rpIdThe rpIdis a single value only. It's important to connect it with Domino. Given the scenario where there is a single value present and multiple websites hosted by Domino, the usefulness of this will vary depending on the user's requirements. In the default case, if the user has "domino.somecompany.com" as their server and Domino REST API is listening on the same hostname (although ports may differ), they can sign in with Passkey in Domino REST API and apply the same stored key on Domino HTTP, and vice versa. See Passkey authentication of HCL Domino. -
Save the file in
.jsonformat inside thekeepconfig.ddirectory.Tip
Use a filename for the JSON file that reveals its purpose. To learn more on how JSON files in
keepconfig.dare processed, see Configuration management and overlay hierarchy. -
Restart Domino REST API on all servers with this new configuration.
Note
- If you disable the
webAuthnActivein the settings, you won't be able to use passkey authentication. - The actual WebAuthn keys are stored in each user's device. Domino and Domino REST API store only the public-key part to verify it.