Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Latest commit

 

History

History
23 lines (15 loc) · 503 Bytes

readme.md

File metadata and controls

23 lines (15 loc) · 503 Bytes

Laravel LDAP Auth

Simple Laravel auth driver for LDAP.

Allows to connect into a LDAPv3.0 server to check user's credentials.

Install

Add service provider to file config/app.php

LucasVscn\LDAP\ServiceProvider::class,

Change your config/auth.php to work with 'ldap' driver:

'providers' => [

    'users' => [
        'driver' => 'ldap',
        'model' => App\User::class,
        'host' => '0.0.0.0',
        'domain' => 'yourdomain.com.br',
    ],
],