jotaelesalinas / laravel-adminless-ldap-auth

Authenticate users in Laravel against an adminless LDAP server
MIT License
210 stars 33 forks source link

Exception with message 'LdapUser: missing config variable "auth.auth_user_key".' #41

Closed ken-colvin closed 4 years ago

ken-colvin commented 4 years ago
[site]$ php artisan tinker
Psy Shell v0.10.4 (PHP 7.3.19 — cli) by Justin Hileman
>>> Auth::attempt(['username' => 'einstein', 'password' => ''])
Exception with message 'LdapUser: missing config variable "auth.auth_user_key".'

image

github-actions[bot] commented 4 years ago

Hi #! Welcome to this repo.

jotaelesalinas commented 4 years ago

Hi @ken-colvin ! This error means that the config variable 'auth_user_key' is not set inside config/auth.php (or it is empty).

jotaelesalinas commented 4 years ago

Hi @ken-colvin . Have you been able to solve the issue?

ken-colvin commented 4 years ago
jotaelesalinas commented 4 years ago

I'm glad you found the solution. I think it is in the instructions, though: the last paragraph of the section "Modify config/auth.php".

ken-colvin commented 4 years ago

It is there. Good job on this software.