Closed joseserrano15 closed 2 years ago
Hi there @joseserrano15,
There appears to be a spelling error with the samaccountname
array key in your credentials
method.
Thanks for your answer
I used 'sameaccountname' thanks to an answer on stack overflow... So, Which one should it be? I tried with 'uid', 'sameaccountname', 'displayName' but not works.
samaccountname
👍
Oh sorry!
I didn't realize the word was misspelled, it works perfectly with 'samaccountname '.
Thank you very much!
Happy to help @joseserrano15! Marking this as resolved. Feel free to open another issue if you encounter anything 👍
Environment:
PHP Version: 7.3
Hello,
I have a problem with authentication using Active Directory, I alway see the message "These credentials do not match our records".
This is my log file
This auth.php![Screenshot_3](https://user-images.githubusercontent.com/68348356/181308210-1070548a-1e27-4e2e-834a-8ac9b8b9a30c.jpg)
.env![Screenshot_5](https://user-images.githubusercontent.com/68348356/181308305-8581537d-e6e2-4878-9495-fb7ea62724c8.jpg)
LoginController.php![Screenshot_2](https://user-images.githubusercontent.com/68348356/181308369-eed79099-993f-4c2b-a54e-4d81a9b2dc62.jpg)
Do you know what could be the problem? Thanks