google / u2f-ref-code

U2F reference implementations
BSD 3-Clause "New" or "Revised" License
588 stars 182 forks source link

No extension version is not working (Bad Request) #150

Open Nolonyo opened 7 years ago

Nolonyo commented 7 years ago

Hello, I have downloaded this project and put ref-gae to run in localhost by using eclipse mars without modifying anything in code.

Then I have found that, the registration and authentication processes work fine when I use Fido U2F Google plugin. But when I try to do the same thing by using chrome built-in u2f package (changing u2f.EXTENSION_ID value to u2f.EXTENSION_ID = 'kmendfapggjehodndflmmgagdbamhnfd') the screen shows a "Bad request" message.

As far I know, "Bad request" message could be received due to AppID errors or bad calling parameters, but like I have said before I haven't modified anything in the code and this is working using the u2f chrome extension and even it is working for Android by using Google Authenticator App too.

So, anybody could bring me a ray of wisdom?.

Thank you.

daicamangdeplao commented 7 years ago

Hello @Nolonyo ,

Try using ID, pfboblefjcgdjicmnffhdgionmgcdmne, instead of the one in file README.md. You can read the comment around the place where u2f.EXTENSION_ID places for more detailed.

Hope it helps,