Open Vrielmann-EE opened 1 year ago
I have created a user in ActiveDirectory for login and search profiles, I can use this user in the ldap options with username and password to establishing a connection.
The profile of my random user in the request with username as usernameField and password as passwordField will be transferred automatically, thats all - works well, thank you 👍
I am trying to authenticate to the ActiveDirectory with Username and Password from the body om my request:
If I provide username and password in the ldap from the ActiveDirectoryStrategy, a connection is established. But if I try to connect through the username and password from the request body, I am getting the following error:
Here is my ActiveDirectoryStrategy
And here is my passport.authenticate:
Unfortunately I don't see the error and how do I get username and password after a established connection for my ad.authenticate?