I'm trying to do the passkey workshop demo of yubico and I have some errors in console of the react app. This is the link of the workshop and I followed all the directions
https://yubicolabs.github.io/passkey-workshop/docs/deploy
and the errors when the app starts and when I trying to register one user
I've changed a codeline in the ./script/java-app/deploy_java_app.ps1 the last codeline in the params from this
param (
[Parameter(Mandatory=$true)][string]$rp_id,
[Parameter(Mandatory=$true)][string]$rp_name,
[Parameter(Mandatory=$true)][string]$rp_allowed_origins,
[Parameter(Mandatory=$true)][string]$rp_allowed_cross_origins,
[Parameter(Mandatory=$true)][string]$rp_attestation_preference,
[Parameter(Mandatory=$true)][string]$rp_allow_untrusted_attestation,
[Parameter(Mandatory=$true)][string]$deployment_environment,
[Parameter(Mandatory=$true)][string]$database_type,
[Parameter(Mandatory=$true)][string]$database_root_password,
[Parameter(Mandatory=$true)[string]]$rp_attestation_trust_store
)
to this
param (
[Parameter(Mandatory=$true)][string]$rp_id,
[Parameter(Mandatory=$true)][string]$rp_name,
[Parameter(Mandatory=$true)][string]$rp_allowed_origins,
[Parameter(Mandatory=$true)][string]$rp_allowed_cross_origins,
[Parameter(Mandatory=$true)][string]$rp_attestation_preference,
[Parameter(Mandatory=$true)][string]$rp_allow_untrusted_attestation,
[Parameter(Mandatory=$true)][string]$deployment_environment,
[Parameter(Mandatory=$true)][string]$database_type,
[Parameter(Mandatory=$true)][string]$database_root_password,
[Parameter(Mandatory=$true)][string]$rp_attestation_trust_store
)
I want the demo works like the demostration video