Open chriscroome opened 6 years ago
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.
JSXC does indeed intercept the login process, so @sualko would need to look into this.
Any progress here?
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: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?