#!/usr/bin/env bash # Start the demo with the given profiles. # # ./scripts/run.sh defaults: rpId localhost, UV preferred, in memory # ./scripts/run.sh uvrequired user verification REQUIRED on both ceremonies # ./scripts/run.sh attestationdirect ask for DIRECT attestation and watch nothing change # ./scripts/run.sh badorigin relying party expects an origin the client won't send # ./scripts/run.sh jdbc credentials in H2 using Spring Security's own DDL # ./scripts/run.sh trace every WebAuthn log line the framework emits source "$(dirname "${BASH_SOURCE[0]}")/lib.sh" start_app "${1:-}" echo "log: $APP_LOG" echo "browser: $BASE_URL/login (user/password, then $BASE_URL/webauthn/register)"