For using Cloudron auth, the package is already setup to do LDAP. This can be enabled in the rocket.chat settings. Is that not sufficient for your use-case? Also note that Rocket.chat supports multiple auth backends enabled at the same time.

For using Cloudron auth, the package is already setup to do LDAP. This can be enabled in the rocket.chat settings. Is that not sufficient for your use-case? Also note that Rocket.chat supports multiple auth backends enabled at the same time.

Yeah, that can be enough but the oauth is really usefull when you're using multiple domain, big password and to avoid to get X entry in your keepass with X apps and X URL.

I just want to try it, and eventually replace it (why not ask during app install the auth backend to use ?)

I understand the upsides of OAuth and initially we attempted to use OAuth in more apps, however more users prefered using ldap for tighter integration, as ldap usually gives a better user experience inside the app not leaving the app first for the redirect. Also the auto login mechanism in OAuth was sometimes confusing. We won't put up the effort at the moment to support multiple auth backends directly in the app installation/configuration out of the box as that increases the testing amount to ensure proper updates.