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

Google Authenticator - QR Code doesn't show up #53

Closed
InnovationBuddy opened this issue Feb 4, 2023 · 11 comments
Closed

Google Authenticator - QR Code doesn't show up #53

InnovationBuddy opened this issue Feb 4, 2023 · 11 comments
Assignees

Comments

@InnovationBuddy
Copy link

It's a great and very useful module!
The email function works perfectly. However, if I want to use the Google Authentication function, the QR Code does not show up.
Currently, I'm using HumHub 1.13.1

It would be great if you have any solution for me what I can change or maybe you can make some code adjustments so it works.
Thanks so much!

@G-Burnett
Copy link

Same issue on Version: 1.14.2. QR would be so much easier than typing a code.

@yurabakhtin
Copy link
Collaborator

@InnovationBuddy @G-Burnett Could you please show where "the QR Code does not show up"?
For me it works:

test_google_authenticator

@G-Burnett
Copy link

G-Burnett commented Jun 7, 2023 via email

@yurabakhtin
Copy link
Collaborator

@G-Burnett Could you inspect by your browser what you have here, probably you will find there some errors which help me to find a bug faster? :

inspect_auth_img

Also please tell what browser and PHP version you use, thanks.

@G-Burnett
Copy link

G-Burnett commented Jun 7, 2023 via email

@G-Burnett
Copy link

G-Burnett commented Jun 7, 2023 via email

@G-Burnett
Copy link

G-Burnett commented Jun 7, 2023 via email

@yurabakhtin
Copy link
Collaborator

@G-Burnett Hello, I have reread this again:

Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'nonce-orR5Fp4nSTynktT6LErcqG8U' 'unsafe-inline' 'report-sample'". Note that 'unsafe-inline' is ignored if either a hash or nonce value is present in the source list.

and probably the fix from PR #56 may solve it.
It would be good if you can to test this fix https://github.com/humhub/twofa/pull/56/files#diff-b6440feae029860743b55182fe3a1839c32fe1264481fc76732778db87e0d23dR43 on your side, because I still cannot reproduce it on the same browser and PHP versions as you have.
Thanks.

@G-Burnett
Copy link

G-Burnett commented Jun 8, 2023 via email

@G-Burnett
Copy link

Hi Yuriy, I can confirm that after applying this fix the QR code is now displayed. Thank you :-)

@luke-
Copy link
Contributor

luke- commented Jun 8, 2023

@yurabakhtin @G-Burnett Thanks, I've just released 1.1.3

@luke- luke- closed this as completed Jun 8, 2023
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

4 participants