Skip to content
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

Login with LDAP fails on first try #816

Open
poVoq opened this issue Jan 10, 2023 · 1 comment
Open

Login with LDAP fails on first try #816

poVoq opened this issue Jan 10, 2023 · 1 comment
Labels
Milestone

Comments

@poVoq
Copy link

poVoq commented Jan 10, 2023

Describe the bug
As described here I got Convos to work with LLDAP. It seems to work fine, but I noticed that on the very first attempt to login via LDAP on a new account it fails with an incorrect email or password error.

Since the LLDAP log tells me that it is a success regardless, I guess it fails because it has not yet created the user directory and user.json Convos side? On a second try with the same user credentials it works.

To Reproduce
Steps to reproduce the behavior:

  1. Configure LDAP auth
  2. Try to login with new user that only exists in LDAP
  3. Error response from Convos, but success response in LDAP logs
  4. Try again and it works.

Expected behavior
A user should be created Convos side on first try, or at least the error message should say "new user created, try again" or so.

Environment:
Convos stable docker image
LLDAP server

@poVoq poVoq added the bug label Jan 10, 2023
@jhthorsen
Copy link
Collaborator

See my comment here: #815 (comment)

@jhthorsen jhthorsen added this to the 7.xx milestone Jan 11, 2023
@jhthorsen jhthorsen modified the milestones: 7.xx, 8.xx Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants