jsxc / xmpp-cloud-auth

:key: Authentication hub for Nextcloud+JSXC→Prosody, ejabberd, saslauthd, Postfix
https://www.jsxc.org
MIT License
59 stars 18 forks source link

Should now also work with MetronomeIM #65

Closed poVoq closed 6 years ago

poVoq commented 6 years ago

See: https://github.com/maranda/metronome/issues/386

Metronome is a much diverged fork of Prosody with some arguably better usability and full support for platforms like Movim. It has recently picked up development again.

MarcelWaldvogel commented 6 years ago

Thanks! Is MetronomeIM already mature enough to present it as an alternative to Prosody in the docs?

What are the main changes to mod_auth_external between Prosody and MetronomeIM? The history only lists maranda's changes.

At least some of the Prosody/mod_auth_external problems are due to lua-lpty. Getting rid of this would make things more stable.

In the past weeks, I have become a fan of socket activation, which is really powerful in systemd (better support for it is currently implemented in a private branch). Would that be an incentive to move away from process launching to socket activation? (I considered writing mod_auth_socket, but then went for the smaller changes in 0ca3a47b1dd).

poVoq commented 6 years ago

From an end-user perspective Metronome is probably more mature than Prosody, but it lacks some of the customization options Prosody has.

Sorry, for the technical details you need to ask @maranda

maranda commented 6 years ago

It's just a simple backport of the module to be compatible with Metronome API, it still relies on lpty, so if there're issues with that, they'll probably still be there although using a version that does support non-blocking calls of lpty should ease the issues me thinks.

sualko commented 6 years ago

Thanks for the work and the update. Keep up the good work :+1: