Describe the bug
I was setting up LDAP authentication, when I tried to save a new edit to the config it threw a "not authorized" error, so I logged out assuming that updating the authentication meant I would need to re authenticate.
It now shows LDAP as an option (though it doesn't work, since our LDAP setup is very finicky and hard to connect to; I don't expect that to be working the first few tries) but the Local login seems to be broken preventing me from logging in with the admin account.
To Reproduce
Steps to reproduce the behavior:
In a fresh Docker environment.
- Go to 'Administration'
- Click on 'Authentication'
- Scroll down and click on 'LDAP'
- Set up a bad LDAP config that shouldn't result in a successful connection.
- Save the config.
- Attempt to change the config again.
- Attempt to save the change.
[Observe first error here.]
- Log out
- Click on "Local" auth option
- Attempt to login with Admin credentials
Expected behavior
To log in with the admin credentials
Host Info (please complete the following information):
- OS: Docker
- Wiki.js version: ^2
- Database engine: postgres: latest
Additional context
Since I'm pretty sure my LDAP config is incorrect, it is likely an LDAP auth or SSL protocol error that caused all of this. The LDAP is probably using an SSL cipher that is not supported by the Alpine Linux container Wiki.js is running in.
But I would hope that error wouldn't result in the Administrator getting locked out.
Describe the bug
I was setting up LDAP authentication, when I tried to save a new edit to the config it threw a "not authorized" error, so I logged out assuming that updating the authentication meant I would need to re authenticate.
It now shows LDAP as an option (though it doesn't work, since our LDAP setup is very finicky and hard to connect to; I don't expect that to be working the first few tries) but the Local login seems to be broken preventing me from logging in with the admin account.
To Reproduce
Steps to reproduce the behavior:
In a fresh Docker environment.
[Observe first error here.]
Expected behavior
To log in with the admin credentials
Host Info (please complete the following information):
Additional context
Since I'm pretty sure my LDAP config is incorrect, it is likely an LDAP auth or SSL protocol error that caused all of this. The LDAP is probably using an SSL cipher that is not supported by the Alpine Linux container Wiki.js is running in.
But I would hope that error wouldn't result in the Administrator getting locked out.