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

Login Button No Action #7

Open
mitz-20 opened this issue Feb 2, 2020 · 4 comments
Open

Login Button No Action #7

mitz-20 opened this issue Feb 2, 2020 · 4 comments

Comments

@mitz-20
Copy link

mitz-20 commented Feb 2, 2020

Thanks for U2F Nice implementation. I tried the same in my own nginx,centos 7 using repository . Got stuck up at login screen. I have place u2fap.js in my PDO-Without-AJAX folder, got all dependencies i.e vendor through composer install and have sqlite installed with two tables users & registration. Kindly guide in resolving issue. Att screenshot of login window.
Thanks Again.

Mitz
Screenshot from 2020-02-02 21-11-04

@Samyoul
Copy link
Owner

Samyoul commented Feb 3, 2020

Hi Mitz. Are you trying to run the example here https://github.com/Samyoul/U2F-php-server-examples ?

Where are you getting stuck? Does your console log give you any feedback?

@mitz-20
Copy link
Author

mitz-20 commented Feb 3, 2020 via email

@Samyoul
Copy link
Owner

Samyoul commented Feb 5, 2020

Hey, Ok. It seems like you have a lot to understand. That's ok, I'll show you how to view your console.

If you're using google chrome open your chrome devtools : https://developers.google.com/web/tools/chrome-devtools/open

Then you need to open the console option : https://developers.google.com/web/tools/chrome-devtools/console

@mitz-20
Copy link
Author

mitz-20 commented Feb 13, 2020

Hi samyoul,

Thanks for reply.

Took some time to learn console feature completely and made some way ahead.
Now i am able to login with some default user.
But not able to register my youbico security key.
Checked console.log and got following error

"TypeError: U2F.register_impl requires at least 4 arguments, but only 3 were passed
u2f-registration.php:37:13
Signatures:
Array []
u2f-registration.php:31:10
Registration Request:
Object { version: "U2F_V2", challenge: "nqfaK9Z71cQ6Y-HHl7WJwU7WVy_s6cgkmcRx5FBdR5Y", appId: "https://localhost" }
"

It indicated one more argument for u2f.register_impl. Please find attached screenshot of the Registration page with console.log screen.

Thanks again.

Mitz
register_screen_error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants