This is a boilerplate implementation for using HID User Journey in a web applications. Currently it shows only how to go passwordless using FIDO2/WebAuthn.
You will need to set the following environment variables to run locally:
SESSION_SECRET
- A secret used to sign the session cookieHID_AUTH_URL
- The URL of the HID OpenID API service including your tenantHID_SCIM_URL
- The URL of the HID SCIM API service including your tenantHID_CLIENT_ID
- The client ID of your applicationHID_CLIENT_SECRET
- The client secret of your applicationHID_REDIRECT_URI
- The address where the user is sent after authentication
You can find more details on the API calls used in the User Authentication with FIDO documentation for the HID Authentication Service.