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

Complete demo branch not working at all ? #14

Open
savoygrizzly opened this issue May 17, 2019 · 7 comments
Open

Complete demo branch not working at all ? #14

savoygrizzly opened this issue May 17, 2019 · 7 comments

Comments

@savoygrizzly
Copy link

For me with node 10, express 6.9 and chrome 74 this Demo doesn't appear to be working at all anymore, had to fix 12 ERROR [ERR_HTTP_HEADERS_SENT] before actually being able to try running it, then seems to randomly bug simply for registration when getting the response from client, either when checking the results or when comparing challenges.
On top of that there’s no other reliable example that would actually show you how to use webauthn with Node...

@sullof
Copy link

sullof commented May 19, 2019

Same problem here.

@savoygrizzly
Copy link
Author

Also had that error, it seems to appear randomly 1 time out of 3, I couldn’t figure out the reason why.
It’s pretty lame that there is no actual documentation for a complete integration and only the client side code available on the official webauthn website, seems like the “future of authentication” is not ready to be used yet... What a shame since all Major browsers are about to support it...

@geraldkrug
Copy link

http://g--dk.biz/bitc/encdc.php?submit=submit&message=abggssd

So when you run that message you get a size of 76. Refresh after REFRESH it's 76. So all Webauthn needs to do is agree on a size and then it dosent matter what the message is as long as it ends up being the size.
Size matters.
So in the UBIkey senario all keys are made with an internal message 7 characters in size and then will always produce a size 76.

The browsers can all look for the size 76 because the UBIkey delivers a 7 character message. Of course you can do hugh messages and get hugh sizes

@baroninn
Copy link

same problem here, new computer, just installed fresh node and git.
I can run the project. but nothing happens when I click "Login" button on the website.

@baroninn
Copy link

same problem here, new computer, just installed fresh node and git.
I can run the project. but nothing happens when I click "Login" button on the website.

I actually figured out I didnt have the complete demo. After I got that then everything started working locally. But if I try to connect from my phone or laptop to my local server then I get the error "cannot read property 'create' of undefined"

@Perlover
Copy link

This demo is not finished code as i just found out:

#21

@Avec112
Copy link

Avec112 commented Nov 11, 2020

Branch complete-demo works fine.
Just do git checkout completed-demo
The problem is that both javascript files webauthn.js and webauthn.auth.js is missing content.

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

6 participants