-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ldap_user_create_mode 'auto' does not seems to work #51
Comments
Hi. Did you clear your browsers cookies? Is there anything logged in the server log? |
We just set up a new Discourse with this plugin, and the auto creation doesn't work for us either. Instead of creating the account automatically, there is an interstitial popup asking to choose a real name and then press a button to actually create the account. Is there a way to turn this off and just log users in directly? Or maybe I misunderstood the explanation of |
@skddc I believe if you turn off Use real names in your Admin Settings, it will automatically create the account and will not prompt for real name. |
A way to update the plugin to support real name might be to update the User creation code, e.g. discourse-ldap-auth/lib/ldap_user.rb Line 31 in 8ccbfd9
user#full_name : https://github.com/discourse/discourse/blame/721ee3642558d960db9345c6238a457aa7f5d674/app/models/user.rb#L106.
It would require a bit more investigation. |
Thanks! I had another look and also found this one: The popup is gone now. |
Hello,
Using version 2.5.0.beta2
I am trying to set up discourse with Active Directory. When I use 'LDAP Authentication' I am getting redirected to the discourse home page. There are no window called 'Create new account'
It seems like 'auto' mode does not work.
When I create account with the same email then I can use AD credentials to log in and it is working fine. But I would like to have an account created automatically.
Any suggestions?
The text was updated successfully, but these errors were encountered: