Download the PHP package robrogers3/laraldap-auth without Composer
On this page you can find all versions of the php package robrogers3/laraldap-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download robrogers3/laraldap-auth
More information about robrogers3/laraldap-auth
Files in robrogers3/laraldap-auth
Package laraldap-auth
Short Description ldap authentication for laravel
License MIT
Homepage https://github.com/robrogers3/laraldap-auth
Informations about the package laraldap-auth
laraldap-auth: Authenticate against your Ldap Server
Drop in replacement for Laravel authentication against your ldap service.
Supporting OpenLDAP.
Install
Via Composer
Usage
Add this to app.php in the services providers list
Update config/auth.php
Create your database, and specify database connection options in .env and/or config/database.php
Use Artisan to make auth and migrate
Run:
If you are using Bootstrap 3 then you can publish the views to prevent user registration.
You may be done. Go ahead and login.
Using AES to encrypt passwords
The LDAP passwords are saved in the User table. Normally they are encrypted wih BCrypt.
There is now AES support so you can safely exchange information from other applications that require an ldap login for authentication.
With AES and a shared key, you can encrypt and decrypt passwords on either side if you share the same AES key.
Here's the changes you need to make:
- Add the packages HashServiceProvider to config/app.php
Update the config/hashing.php file like so.
Update your user database migration and add this column:
Then update your services.php config file, like so:
Now you should be good to go.
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Rob Rogers
- All Contributors
License
The MIT License (MIT). Please see License File for more information.