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

Compatibility with OpenOTP Two Factor Authentication? #55

Open
chriscroome opened this issue May 31, 2018 · 3 comments
Open

Compatibility with OpenOTP Two Factor Authentication? #55

chriscroome opened this issue May 31, 2018 · 3 comments
Assignees

Comments

@chriscroome
Copy link

I'm experimenting with Prosody and after setting everything up it appears to work, I have lines like this in the /var/log/prosody/prosody.log file:

May 31 11:09:40 mod_bosh        info    New BOSH session, assigned it sid 'XXX'

However it appears that I can only login to Nextcloud after disabling the OpenOTP Two Factor Authentication app via occ app:disable twofactor_totp — is JavaScript XMPP Chat incompatible with OpenOTP Two Factor Authentication?

@chriscroome
Copy link
Author

I have done some more testing and if OpenOTP Two Factor Authentication is enabled then logging in using the "Login without chat" works as normal.

If you click "Log in" you get the "Loggin in…" text and spinning image but nothing happens.

However if you click in the URL bar in your browser (which displays https://example.org/login) and hit enter then you get a redirect to the TOTP (Authenticator app) form, at https://example.org/login/challenge/totp and then you can enter the code and login.

So the issues appears to be that the redirect from /login to /login/challenge/totp doesn't happen when the ojsxc app is enabled.

@MarcelWaldvogel
Copy link
Contributor

JSXC does indeed intercept the login process, so @sualko would need to look into this.

@MarcelWaldvogel
Copy link
Contributor

Any progress here?

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

3 participants