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

Can't configure TOTP on master #297

Closed
schiessle opened this issue Nov 4, 2018 · 5 comments
Closed

Can't configure TOTP on master #297

schiessle opened this issue Nov 4, 2018 · 5 comments

Comments

@schiessle
Copy link
Member

On the latest master for both server and the totp app I can't configure TOTP. That's how it looks like after a fresh installation:

image

@ChristophWurst
Copy link
Member

What master? This app's master? Nextcloud server master? How did you install this app? Via a git clone or a packaged release?

@ChristophWurst
Copy link
Member

Also, please check your browser's console for logged errors.

@ChristophWurst
Copy link
Member

ChristophWurst commented Nov 5, 2018

bildschirmfoto von 2018-11-05 07-49-37

Can't reproduce with latest server master and this app's master branch. Did you install php/js dependencies and run npm run build? (ref #278 -> https://github.com/nextcloud/twofactor_u2f#development-setup)

@schiessle
Copy link
Member Author

both, server and this app are from git master.

In the JS console I have this two errors:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).
Loading failed for the <script> with source “http://localhost/master/apps/twofactor_totp/js/settings.js?v=d0b592ce-0”.
Loading failed for the <script> with source “http://localhost/master/core/vendor/zxcvbn/dist/zxcvbn.js”. security:1:1
Content Security Policy: The page’s settings blocked the loading of a resource at http://localhost/master/core/vendor/zxcvbn/dist/zxcvbn.js (“script-src”). 

Browser is Firefox 63.0.1

@schiessle
Copy link
Member Author

OK, works now after I completed the setup instructions from the readme, sory for the noise

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