                   $.get("/webauthn/login?email=" + email)
                     .then(resp => {
                         addResult("GET /webauthn/login?email=" + email, null,
                                   JSON.stringify(JSON.parse(resp), null, 3));
                         return JSON.parse(resp);
                     })
                     .then(async resp => {
                         const pubKey = publicKeyCredentialRequestOptions(resp);
                         console.log(pubKey);
              