YunoHost-Apps / discourse_ynh

Discourse package for YunoHost
https://www.discourse.org/
GNU General Public License v2.0
24 stars 12 forks source link

LDAP plugin doesn't create new users #146

Open ziima opened 1 year ago

ziima commented 1 year ago

Describe the bug

LDAP plugin fails to create new discourse users. Login to existing users works correctly.

Context

Steps to reproduce

Expected behavior

Discourse user should have been created and user logged in.

Logs

No error in logs.

Other details

I found a possible bug in discourse-ldap-auth https://github.com/jonmbake/discourse-ldap-auth/issues/74 but it may not be the only issue. It used to work and it's not clear to me what changed. Apparently user's groups are not provided by LDAP to the plugin which triggers the weird behavior.