Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.42 KB

File metadata and controls

28 lines (19 loc) · 1.42 KB

Setting up a local Dynamo DB service

You will need to have Docker installed and running to use the local Dynamo DB service.

The local database container will be automatically started when Janus' webapp runs, but if you need to run it yourself you can use the following:

cd local-dev
docker compose up -d

Setting up Audit table

The service hosts a database holding a table that stores audit logs.
To make this table available for testing auditing functionality:

  1. Create the audit table schema by running Creation test.
  2. Populate the table with some test data by running Insertion test.

Setting up Passkeys tables

To test registration of passkeys and their use in authentication, you will need to have the tables to hold passkey public key data and challenges in your local database.
To make these tables available for testing passkeys functionality:

  1. Create the passkey credentials table schema by running create table test.
  2. Create the passkey challenges table schema by running create table test.

These tests are ignored by default. To run them, just change ignore to in.