requarks / wiki-v1

Legacy version (1.x) of Wiki.js
https://wiki.js.org
GNU Affero General Public License v3.0
100 stars 75 forks source link

Auth configuration not taken into account - cannot mount LDAP #115

Open TitoVince35 opened 6 years ago

TitoVince35 commented 6 years ago

Symptoms

falleco commented 6 years ago

Hello!

Login Page

I don't know if this is you problem, but the LDAP can only be used with "Local". I didn't play with the other providers though...

Users Page

I don't think LDAP will appear as an option, users get created automatically on first successful login when LDAP is configured.

When I set public to true I still must login.

I think the first time you start wikijs, the guest user is created with permissions loaded from your config. I started the system with 'public' false, and then changed the config file to true. If you did this too, you can change the permissions going to the admin settings page and checking guest user permissions. That solved the same problem here.

NGPixel commented 6 years ago

Provider ldap requires local to be enabled. It will not appear as an option on the login page because it's form based and not oauth2 based. Use the form to login.