Please add the possibility to stack several authentication providers.
Hi. Is there a specific reason you are requesting this?
This has been discussed before. It's not hard to combine two authentication modules, but doing it in a generic way is tricky, especially when hashed authentication mechanisms are involved.
yes, I would like to have one authentication provider to be tried first (e.g. LDAP) and if the authentication there fails, to try the credentials with another provider (e.g. mod_auth_external).
Would be nice to have in the following scenario:
Do the main authentication against an external provider (for example Nextcloud JSXC), but have Prosody only accounts for admin functionality and running a bot like errbot.
Currently I would need an non-functional errbot account in Nextcloud to allow it to connect to Prosody. With stacked authentication I could have them in the internal user storage along side the Nextcloud accounts.
Another similar scenario would be different front-ends, such as running a public chat service and a XMPP enabled Nextcloud instance, with interoperability, but not wanting to create a Nextcloud account for every common chat user.
Thanks a lot for looking into this!