-1

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

enter image description here

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

  • Welcome to Stack Overflow! Please **DO NOT** attach images of errors. They cannot be copy/pasted, indexed by search engines, and can be blocked by filters. Please read [ask] and [edit] your question to add your error as formatted text. For more information, please see the Meta FAQ entry [Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/a/285557/20153035), along with [this website](https://idownvotedbecau.se/imageofanexception/) – Fastnlight Aug 21 '23 at 16:31
  • Hello Otto, can you please [add your issue](https://github.com/YubicoLabs/passkey-workshop/issues) directly to the GitHub repository. This will help our team track and manage any next steps we need to take. – Cody Salas Aug 22 '23 at 14:04

0 Answers0