Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration error #24

Open
nickbullll opened this issue Oct 8, 2019 · 0 comments
Open

Registration error #24

nickbullll opened this issue Oct 8, 2019 · 0 comments

Comments

@nickbullll
Copy link

Hey, get this error after register method. After debugging u2f-api I see that chrome return responseData: {errorCode: 2} in this.port_.onMessage.addListener(function (message) line

Error: Registration failed
    at makeError (u2f-api.js:77)
    at callback (u2f-api.js:127)
    at push../node_modules/u2f-api/dist/lib/generated-google-u2f-api.js.u2f.responseHandler_ (generated-google-u2f-api.js:625)
    at generated-google-u2f-api.js:384

Register code:

const result = await u2f.register({version: "U2F_V2", appId: "https://localhost:5000", challenge: "bV4O8XSr3mo016foC9-bY5EyJ-aMRmVlSjzWsED2HUw"})
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant