LDAP Authentication & Management for Laravel

Overview

๐Ÿ‘‹ Hey there! Looking for something even easier to use for LDAP integration in your Laravel applications?

๐ŸŽ‰ Introducing LdapRecord ๐ŸŽ‰

LdapRecord is the successor to Adldap2 - and comes with a ton of new features.
Adldap2-Laravel will continue to be supported with bug fixes, but will not receive new features.

Read Why


Adldap2 - Laravel

Easy configuration, access, management and authentication to LDAP servers utilizing the core Adldap2 repository.

Quickstart ยท Documentation

  • Authenticate LDAP users into your application. Using the built-in authentication driver, easily allow LDAP users to log into your application and control which users can login via Scopes and Rules.

  • Easily Import & Synchronize LDAP users. Users can be imported into your database upon first login, or you can import your entire directory via a simple command: php artisan adldap:import.

  • Eloquent like Query Builder. Search for LDAP records with a fluent and easy to use interface you're used to. You'll feel right at home.

  • Active Record LDAP Models. LDAP records are returned as individual models. Easily create and update models then persist them to your LDAP server with a simple save().

Comments
  • Cannot access adldap property of model.

    Cannot access adldap property of model.

    @stevebauman I've followed all of the documentation but can't seem to get Auth::user()->adldapUser to return anything but null.

    I have added the trait to my user model, turned on bind_user_to_model and confirmed that authentication is working properly using the standard Auth controller with the $username attribute overridden to be samaccountname.

    When doing dd(Auth::user()) I am also getting a null value on $adldapUser. Any help would be greatly appreciated.

    bug 
    opened by brockwddb 47
  • [2.0] These credentials do not match our records.

    [2.0] These credentials do not match our records.

    Hello for days I'm trying to connect an application with ldap but I have been many problems, I followed the tutorials https://github.com/SaschaDens/ldap-connector and https://github.com/Adldap2/Adldap2-Laravel laravel 5.2 and I get the following error in the login These credentials do not match our records. I hope you can help me @stevebauman

    question 
    opened by leonmilx 36
  • Can't login on server but can locally with same config

    Can't login on server but can locally with same config

    • Laravel Version: 5.4
    • Adldap2-Laravel Version: 3.0.4/7.0.11
    • PHP Version: 7.0

    Description:

    I have ADLDAP working on my local dev environment and talking to my AD server just fine. When I try to login from my site on my dev server however it fails with: "BindException in Guard.php line 80: Can't contact LDAP server". I can successfully ping from the dev server to the AD server just fine. I can also run "php artisan adldap:import" from the dev server and it will import all the users. Any ideas?

    opened by 2Foot 30
  • Site Crashed After Composer Update - Logger

    Site Crashed After Composer Update - Logger

    • Laravel Version: #5.8.31#
    • Adldap2-Laravel Version: #6.0#
    • PHP Version: #7.2#
    • LDAP Type: Active Directory

    Description:

    Performed a "Composer update" commandand now my site has crashed. When I log in I am getting the following error message:

    "Call to undefined method Adldap\Log\EventLogger::log()"

    Steps To Reproduce:

    Nothing else changed except running a composer update command

    question ActiveDirectory 
    opened by kellerisddev 29
  • UserProvider fails to retrieveById

    UserProvider fails to retrieveById

    I am trying to check the LDAP if a username exists and if it doesn't then I want to write the data out to a table to provide a way for users not in the ldap to set up their own account. Everytime I dump the results I get a null value.

    Auth.php:

    <?php
    
    return [
    
        'defaults' => [
            'guard' => 'web',
            'passwords' => 'users',
        ],
    
        'guards' => [
            'web' => [
                'driver' => 'session',
                'provider' => 'adldap',
            ],
    
            'api' => [
                'driver' => 'token',
                'provider' => 'users',
            ],
        ],
    
        'providers' => [
            'users' => [
                'driver' => 'eloquent',
                'model' => App\User::class,
            ],
    
            'adldap' => [
                'driver' => 'adldap',
                'model' => App\User::class,
            ],
        ],
    
        'passwords' => [
            'users' => [
                'provider' => 'users',
                'email' => 'auth.emails.password',
                'table' => 'password_resets',
                'expire' => 60,
            ],
        ],
    ];
    

    adldap_auth.php:

    <?php
    
    return [
    
        'connection' => env('ADLDAP_CONNECTION', 'default'),
    
        'username_attribute' => ['username' => 'samaccountname'],
    
        'limitation_filter' => env('ADLDAP_LIMITATION_FILTER', ''),
    
        'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', true),
    
        'password_key' => env('ADLDAP_PASSWORD_KEY', 'password'),
    
        'password_sync' => env('ADLDAP_PASSWORD_SYNC', true),
    
        'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'samaccountname'),
    
        'bind_user_to_model' => env('ADLDAP_BIND_USER_TO_MODEL', true),
    
        'sync_attributes' => [
            'FirstName' => 'givenname',
            'LastName' => 'sn',
            'email' => 'mail',
        ],
    
        'select_attributes' => [ ],
    ];
    
    opened by likeadeckofcards 29
  • LDAP Auth Only (No Database Synchronization)

    LDAP Auth Only (No Database Synchronization)

    Hello,

    First, I want to thank you for your hard work for making such a useful library and I'd like to tell that I can be considered as both a Laravel and a LDAP newbie.

    I am currently trying to make a simple user interface which will allow the LDAP users to change their attributes (password, telephone, address etc..) There is an OpenLDAP server already actively using by the company.

    • The company doesn't want to add the web server into the domain which the application will run on. Is there any way to configure adldap2-laravel to connect the server by using the server's IP address? I tried official PHP-Ldap library to test if I can bind the admin user and fetch some data and I successfully achieved it. But I couldn't figure out where to configure the server's IP address in the adldap2-laravel library or it is not even possible.
    • Second question is; is it possible to authenticate users by only LDAP database? I made a search through the issues and read the guides. It seems we need a User model and a database for the adldap2-laravel working. I want to achieve my goal by like;
      • Post user credentials from UI (uid an password)
      • Check credentials from the LDAP database
      • If matches, log the user in and allow the user to see and change his/her attributes

    Sorry for the long post. It will be very appreciated if you can enlighten me. Thanks again.

    enhancement 
    opened by ozza 28
  • LDAP property missing from User object

    LDAP property missing from User object

    • Laravel Version: 5.8.22
    • Adldap2-Laravel Version: 6.0.6
    • PHP Version: 7.3.4
    • LDAP Type: ActiveDirectory

    Description:

    I'm authenticating my users based on username and password. The AD users authenticate successfully and are logged in to the application. The fields I want are sync'd correctly. The issue is that my logged in User object's 'ldap' property is always null. I can recreate this in Tinker as well. So I can't access any of the ldap methods.

    I re-created a new application from scratch and followed the Adldap2-Laravel instructions to the letter, but I'm getting the same problem. I feel like I'm missing something somewhere. I've done Laravel applications in the past and haven't had this problem.

    Steps To Reproduce:

    1. I log the user in via Tinker using Auth::attempt().
    2. The user is logged in successfully, but I do get the following... PHP Warning: unlink PHP Warning: ldap_search(): Search: Bad search filter PHP Warning: ldap_get_entries() expects parameter 2 to be resource, bool given PHP Warning: ldap_search(): Search: Bad search filter PHP Warning: ldap_get_entries() expects parameter 2 to be resource, bool given

    Each warning is followed by a file path to the php file the warning originates from. Perhaps this ldap_search() thing is the reason I'm having issues? 3) Once logged in I can access the user via Auth::user(), but as mentioned above, the ldap property is null.

    Any direction on this would be much appreciated!

    question ActiveDirectory 
    opened by lotius 26
  • Unable to use AdldapAuthUserProvider.retrieveByCredentials. always return false

    Unable to use AdldapAuthUserProvider.retrieveByCredentials. always return false

    https://github.com/Adldap2/Adldap2-laravel/blob/master/src/AdldapAuthUserProvider.php#L57

    $user is not instanceof Adldap\Models\User so it always return false because $user is Adldap\Models\Entry

    Please advise.

    opened by minkbear 26
  • can't login using ldap

    can't login using ldap

    hi Steve, i have followed all the steps and try to login but i can't login .but the credentials i have provided is write. do you have an idea where this might goes wrong.

    thanks

    opened by ram536 25
  • Issues with retrieving results

    Issues with retrieving results

    Does this class work with Laravel 5.3? I noticed the main difference is that AuthController got deprecated. But everything else seems the same. I am relatively new to Laravel and LDAP in general. I followed the instructions and things seem to not pass the login. It doesn't even hit the LDAP server. The login just seems to refresh when I submit. Is there something wrong with my code? I removed the comments for ease of reading. The XXXXXX's would contain my information.

    # Auth.php
    
    <?php
    
    return [
    
        'defaults' => [
            'guard' => 'web',
            'passwords' => 'users',
        ],
    
        'guards' => [
            'web' => [
                'driver' => 'session',
                'provider' => 'users',
            ],
    
            'api' => [
                'driver' => 'token',
                'provider' => 'users',
            ],
        ],
    
        'providers' => [
            'users' => [
                'driver' => 'adldap',//'eloquent',
                'model' => App\User::class,
            ],
    
            // 'users' => [
            //     'driver' => 'database',
            //     'table' => 'users',
            // ],
        ],
    
        'passwords' => [
            'users' => [
                'provider' => 'users',
                'table' => 'password_resets',
                'expire' => 60,
            ],
        ],
    
    ];
    
    # adldap.php
    
    <?php
    
    return [
    
        'connections' => [
    
            'default' => [
    
                'auto_connect' => true,
    
                'connection' => Adldap\Connections\Ldap::class,
    
                'schema' => Adldap\Schemas\ActiveDirectory::class,
    
                'connection_settings' => [
    
                    'account_prefix' => '',
    
                    'account_suffix' => '@xxxxxxxxx.com',
    
                    'domain_controllers' => ['xxxxxxxxxx','xxxxxxxxxxx'],
    
                    'port' => 389,
    
                    'timeout' => 5,
    
                    'base_dn' => 'OU=XXX,OU=XXX,DC=xxx,DC=xxxxxx',
    
                    'admin_account_suffix' => '@xxxxxx.com',
    
                    'admin_username' => env('ADLDAP_ADMIN_USERNAME', 'xxxxx'),
    
                    'admin_password' => env('ADLDAP_ADMIN_PASSWORD', 'xxxxx'),
    
                    'follow_referrals' => false,
    
                    'use_ssl' => false,
    
                    'use_tls' => false,
    
                ],
    
            ],
    
        ],
    
    ];
    
    # adldap_auth.php
    
    <?php
    
    return [
    
    
        'connection' => env('ADLDAP_CONNECTION', 'default'),
    
        'username_attribute' => ['username' => 'samaccountname'],
    
        'limitation_filter' => env('ADLDAP_LIMITATION_FILTER', ''),
    
        'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', false),
    
        'password_key' => env('ADLDAP_PASSWORD_KEY', 'password'),
    
        'password_sync' => env('ADLDAP_PASSWORD_SYNC', true),
    
        'login_attribute' => env('ADLDAP_LOGIN_ATTRIBUTE', 'samaccountname'),
    
        'windows_auth_attribute' => ['samaccountname' => 'AUTH_USER'],
    
        'bind_user_to_model' => env('ADLDAP_BIND_USER_TO_MODEL', false),
    
        'sync_attributes' => [
    
            'name' => 'cn',
    
        ],
    
        'select_attributes' => [
    
        ],
    
    ];
    
    
    opened by cisvpn-sai 25
  • Successfully logged in -- Endless Loop

    Successfully logged in -- Endless Loop

    • Laravel Version: 5.5
    • Adldap2-Laravel Version: 4.0
    • PHP Version: 7.2.3
    • LDAP Type: OpenLDAP

    Description:

    Hello!

    Im able to authenticate successfully but Im not redirected past the login screen. The logs show everything worked but Im returned to the /login again with out any errors.

    Im only interested in the authentication part. No need to save anything to a database (NoDatabaseUserProvider).

    local.INFO: User '{MyUserName}' has been successfully found for authentication.  
    local.INFO: User '{MyUserName}' is authenticating with username: 'uid={uid},cn=users,dc=mydomain,dc=com'  
    local.INFO: User '{MyUserName}' has successfully passed LDAP authentication.  
    local.INFO: User '{MyUserName}' has been successfully logged in. 
    

    Steps To Reproduce:

    Every login is an endless loop. If I try to visit the url mydomain.com/home, I'm redirected to /login again.

    .env

    ADLDAP_CONTROLLERS='mydomain.com'
    ADLDAP_BASEDN='cn=users,dc=mydomain,dc=com'
    CACHE_DRIVER=file
    SESSION_DRIVER=file
    

    adldap_auth.php

    return [
        'connection' => env('ADLDAP_CONNECTION', 'default'),
        'provider' => Adldap\Laravel\Auth\NoDatabaseUserProvider::class,
        'rules' => [Adldap\Laravel\Validation\Rules\DenyTrashed::class],
        'scopes' => [Adldap\Laravel\Scopes\UidScope::class],
        'usernames' => [
             'ldap' => [
                 'discover' => 'uid',
                 'authenticate' => 'dn'
            ]
        ],
        'login_fallback' => env('ADLDAP_LOGIN_FALLBACK', false),
        'sync_attributes' => [
            'username' => 'uid',
            'name' => 'cn',
        ]
    ];
    

    adldap.php

    return [
        'connections' => [
            'default' => [
                'auto_connect' => env('ADLDAP_AUTO_CONNECT', true),
                'connection' => Adldap\Connections\Ldap::class,
                'schema' => Adldap\Schemas\OpenLDAP::class,
                'connection_settings' => [
                    'account_prefix' => env('ADLDAP_ACCOUNT_PREFIX', ''),
                    'account_suffix' => env('ADLDAP_ACCOUNT_SUFFIX', ''),
                    'domain_controllers' => explode(' ', env('ADLDAP_CONTROLLERS', '')),
                    'port' => env('ADLDAP_PORT', 389),
                    'timeout' => env('ADLDAP_TIMEOUT', 5),
                    'base_dn' => env('ADLDAP_BASEDN', ''),
                    'admin_account_prefix' => env('ADLDAP_ADMIN_ACCOUNT_PREFIX', ''),
                    'admin_account_suffix' => env('ADLDAP_ADMIN_ACCOUNT_SUFFIX', ''),
                    'admin_username' => env('ADLDAP_ADMIN_USERNAME', ''),
                    'admin_password' => env('ADLDAP_ADMIN_PASSWORD', ''),
                    'follow_referrals' => false,
                    'use_ssl' => env('ADLDAP_USE_SSL', false),
                    'use_tls' => env('ADLDAP_USE_TLS', false),
                ],
            ],
        ],
    ];
    

    LoginController.php

    namespace App\Http\Controllers\Auth;
    
    use App\Http\Controllers\Controller;
    use Illuminate\Foundation\Auth\AuthenticatesUsers;
    
    class LoginController extends Controller
    {
    
        use AuthenticatesUsers;
    
        protected $redirectTo = '/home';
        protected $username = 'username';
    
        public function username()
        {
            return 'uid';
        }
    
        public function __construct()
        {
            $this->middleware('guest')->except('logout');
        }
    }
    

    login.blade.php

    ...
    <div class="form-group row">
      <label for="uid" class="col-sm-4 col-form-label text-md-right">{{ __('User Name') }}</label>
    
      <div class="col-md-6">
        <input id="uid" type="text" class="form-control{{ $errors->has('uid') ? ' is-invalid' : '' }}" name="uid" value="{{ old('uid') }}"
          required autofocus> @if ($errors->has('uid'))
        <span class="invalid-feedback">
          <strong>{{ $errors->first('uid') }}</strong>
        </span>
        @endif
      </div>
    </div>
    ...
    
    question OpenLDAP 
    opened by macmedia 24
  • Can active directory user be logout ?After logout user, application require user login

    Can active directory user be logout ?After logout user, application require user login

    • Laravel Version: 8.0
    • Adldap2-Laravel Version: 6.1
    • PHP Version: 7.4.1
    • LDAP Type: ActiveDirectory

    <

    Description

    I login user using AD credential ,how can active directory user be logout ?although i destroy session but still auth is return true....

    Steps To Reproduce:

    image By using built-in close() method public function logout{ Session::flush(); $provider = Adldap::getProvider('default'); $provider->getConnection()->close(); } why connection seem to be close in Adldap::getFacadeRoot()->getProvider('default')->getConnection()->isBound() meanwhile open in Adldap::getConnection(); [?] getConnectionOnFacade

    opened by KhwajaTahaHasanAnsari 1
  • Adldap not working after upgrading to Laravel 6

    Adldap not working after upgrading to Laravel 6

    • Laravel Version: 6.20.44 upgrading from 5.8
    • Adldap2-Laravel Version: 6.1.6 upgrading from 3.0.*
    • PHP Version: 7.4
    • LDAP Type: ActiveDirectory

    Hi, i'm trying to upgrade my Laravel backend to version 6, and it requires me to upgrade Adldap2-Laravel aswell, but after doing so following the upgrade guide it doesn't work anymore. It does seem to connect to my AD server, because when I change LDAP_HOST settings it returns 'can't connect to ldap server'. But when querying for users, it just returns an empty array. Here's my config:

    .env:

    LDAP_ACCOUNT_PREFIX="internal\\"
    LDAP_ACCOUNT_SUFFIX=
    LDAP_BASE_DN="OU=BLAAT,dc=INTERNAL,dc=BLAAT,dc=nl"
    LDAP_HOSTS=s-hdc1.example.nl
    LDAP_PORT=389
    LDAP_USE_SSL=true
    LDAP_ADMIN_USERNAME="user"
    LDAP_ADMIN_PASSWORD="password"
    LDAP_PASSWORD_SYNC=true
    

    config\auth.php:

    'providers' => [
            'users' => [
                'driver' => 'mixed',
                'model' => App\Models\User::class,
                'use_adldap' => !empty(env('LDAP_HOSTS', null))
            ],
        ],
    

    the code i use to get users:

    $users = Adldap::search()->users()->get();
    \Log::Info($users);
    

    I've allready tried republishing the config files (which genereates config/ldap.php and config/ldap_auth.php) and going through each setting to see what has changed compared to the older version of Adldap2-Laravel. Kind of at a loss here, and help is greatly appreciated. Let me know if more examples of files are needed. Thanks

    opened by barmania 0
  • SSO Problem with single route

    SSO Problem with single route

    • Laravel Version: 8.83.3
    • Adldap2-Laravel Version: 6.1
    • PHP Version: 8.0
    • LDAP Type: ActiveDirectory
    • Apache Version: 2.4.53
    • Apache Modul; auth_gssapi

    Description:

    As described in the instructions, I have activated the middleware for SSO. However, this only works if I activate authentication for the entire site in Apache. Then the queries via GraphQL to Lighthouse PHP no longer work.

    So I wanted to enable authentication for only one URL e.g. /auth. But then SSO no longer works. Here is my config:

         <LocationMatch "/auth">
              AllowOverride None
              AuthType GSSAPI
              AuthName "xx.yy.zz"
              GssapiBasicAuth On
              GssapiCredStore keytab:/etc/kerberos.keytab
              GssapiLocalName On
              require valid-user
            </LocationMatch>
    

    The WWW-Authenticate parameter is included in the response and vary starts with "Authorization".

    When I read the Auth::user() value in the route mentioned, it is empty.

    Does anyone have a similar constellation and can tell me whether authentication with SSO is only possible via a single route?

    opened by boehlim377 1
  • Distribution groups?

    Distribution groups?

    • Laravel Version: #.#
    • Adldap2-Laravel Version: #.#
    • PHP Version: #.#
    • LDAP Type: Active Directory

    Hi Steve!

    Is there a way I can get a list of distributions groups? Something like the trait HasMemberOf.

    foreach ($group->getMemberNames() as $name) { // Returns 'John Doe' echo $name; }

    but with distributions groups.

    Thank you!

    opened by chemo-baza 0
  • Not matching e-mail address even if still exists

    Not matching e-mail address even if still exists

    Laravel Version: 8 Adldap2-Laravel Version: 6.1 PHP Version: 7.4

    I have users table.

    I'm trying to make their authentication with LDAP. But when user login, It tries to recreate It's record if 'username' and 'objecthuid' columns are empty. But there's still a user with same e-mail address, so that singularity validation returns error "there's still a record with that email address."

    I want to work with LDAP like; "If email exist, then login and update. If not exist so create new record."

    opened by tcagkansokmen 1
  • Unable to locate a user without a objectguid

    Unable to locate a user without a objectguid

    • Laravel Version: 8
    • Adldap2-Laravel Version: 6.1
    • PHP Version: 7.4

    Trying to login user via LDAP. It doesnt work and returns error below. Here's my code:

           config(['ldap.connections.default.settings.account_prefix' => '']);
           config(['ldap.connections.default.settings.username' => $request->username]);
           config(['ldap.connections.default.settings.password' => $request->password]);
           config(['ldap.connections.default.settings.base_dn' => 'dc=blabla,dc=com,dc=tr']);
           config(['ldap.connections.default.settings.hosts' => ['blabla']]);
    
    
           $credentials = $request->only('username', 'password');
           $aws = Auth::attempt($credentials);
            if ($aws) {
                $results = array('status' => 1, "message" => "Wrong credentials");
            }
    
    

    And here's my error:

    {
        "message": "Unable to locate a user without a objectguid",
        "exception": "UnexpectedValueException",
        "file": "/var/www/vhosts/blabla/httpdocs/vendor/adldap2/adldap2-laravel/src/Commands/Import.php",
        "line": 184,
        "trace": [
    
    opened by tcagkansokmen 0
Releases(v6.1.6)
  • v6.1.6(Feb 9, 2022)

  • v6.1.5(Feb 12, 2021)

  • v6.1.4(Nov 12, 2020)

  • v6.1.3(Nov 11, 2020)

  • v6.1.2(Sep 8, 2020)

  • v6.1.1(Jun 2, 2020)

  • v6.1.0(May 31, 2020)

    Changed

    • Lazily connect to LDAP connections during authentication - ea14abb - #855 - Thanks to @KenoKokoro
    • Forward missing method calls to EloquentUserProvider in DatabaseUserProvider - 51c0f28
    Source code(tar.gz)
    Source code(zip)
  • v6.0.9(Mar 8, 2020)

    Added

    • Laravel 7.0 compatibility - #852, #853

    Changed

    • ldap:import will now no longer throw a RuntimeException when no users are found - 406d9e6
    • env variables in published config now have default username and password - ddf056b - #820
    Source code(tar.gz)
    Source code(zip)
  • v6.0.8(Sep 3, 2019)

  • v6.0.7(Jun 28, 2019)

    Fixed

    • Authentication rules are now properly used when using the included SSO middleware - be9a381, e7e60f0 - #748 - Thanks to @CyrProject
    Source code(tar.gz)
    Source code(zip)
  • v6.0.6(May 24, 2019)

    Changed

    • Bind & Connection exceptions are now not logged if logging is disabled - d488282 - #737

    Fixed

    • Connection names are now properly set - a475791
    Source code(tar.gz)
    Source code(zip)
  • v6.0.5(Apr 18, 2019)

    Fixed

    • Always ensure the schemas objectGUID attribute is selected when resolving users - 7cc16a8 - #706
    • Only determine the model once upon import - 26fb35e, 2725530, a14d504
    Source code(tar.gz)
    Source code(zip)
  • v6.0.4(Apr 11, 2019)

  • v6.0.3(Apr 8, 2019)

  • v5.1.3(Apr 3, 2019)

  • v6.0.2(Mar 30, 2019)

    Added

    Changed

    • Exceptions are now thrown when the LDAP users GUID or Username is empty upon import - 9fe1443 - #693

    Fixed

    • Ensure $guard property exists prior to model binding - 980665f - #696
    • Properly return null when false is returned in the UserResolver::byId() method by a failed connection - 4578285
    Source code(tar.gz)
    Source code(zip)
  • v6.0.1(Mar 20, 2019)

  • v6.0.0(Mar 19, 2019)

    Upgrading

    With this being a major release, please take a look at the upgrade guide for more information on the below changes and how they affect you.

    Added

    • guid_column configuration option - ed34c10, cff3453, 47890e2, 3a3242d
    • LDAP operation logging - 7481c06
    • Optional model configuration option - 40876df
    • Added model option to the adldap:import command - 1edf798

    Changed

    • Use latest Adldap2 v10 - Please read the changelog - ecc0457
    • Minimum Laravel 5.5 or greater is now required - 3b0e57d

    Fixed

    • With the addition of the objectguid database column, users can now be renamed in your directory and stay properly synchronized with your application - ed34c10, cff3453, 47890e2, 3a3242d
    Source code(tar.gz)
    Source code(zip)
  • v5.1.2(Mar 4, 2019)

  • v5.1.1(Jan 8, 2019)

  • v5.1.0(Dec 31, 2018)

    Added

    • model configuration option to allow the use of other default auth drivers and also import users using the adldap:import command - https://github.com/Adldap2/Adldap2-Laravel/commit/2e9e87f002a72ac4761bf942428683ed671d9581 - #645

    Changed

    • adldap:import will now retrieve the model to use for importing by using the new model configuration option or via the first authentication provider using the ldap driver. This does not break backwards-compatibility - https://github.com/Adldap2/Adldap2-Laravel/commit/9c58cb3dd010ddf7df626e13bcb2fe967aa3a8b6 - #645
    Source code(tar.gz)
    Source code(zip)
  • v5.0.2(Nov 22, 2018)

    Fixed

    • Use Hash::make() instead of bcrypt() to support new Argon2 algorithm - 40a2119 - #635, #627
    • Allow extending the DatabaseUserProvider - d0640ad - #631
    Source code(tar.gz)
    Source code(zip)
  • v5.0.1(Nov 16, 2018)

    Fixed

    • Binding LDAP models to User models now works properly with a "remember me" token - ed2694d - #581
    • string sync attributes are now always treated as LDAP fields and will return null when empty - 358446d - #620

    Added

    • More documentation and clarifications to the upgrade guide
    Source code(tar.gz)
    Source code(zip)
  • v5.0.0(Nov 4, 2018)

  • v4.0.10(Sep 18, 2018)

  • v4.0.9(Sep 12, 2018)

  • v4.0.8(Sep 11, 2018)

  • v4.0.7(Feb 17, 2018)

  • v4.0.6(Jan 31, 2018)

    Added

    • Check if the current Auth provider is Adldap before trying to bind user models - (488245e) - #463

    Fixed

    • Allow developers to use distinguished name short name (dn) inside their usernames.ldap.authenticate configuration option - (425984c)
    Source code(tar.gz)
    Source code(zip)
  • v4.0.5(Jan 22, 2018)

Owner
null
Simple readonly LDAP authentication with Laravel 5.2

ldap-auth Very basic READ ONLY LDAP authentication driver for Laravel 5.2+ Look HERE for the package for Laravel 5.1. However, only the 5.2 Version wi

Stan 26 Jun 20, 2021
It's a Laravel 8 authentication markdown that will help you to understand and grasp all the underlying functionality for Session and API Authentication

About Auth Starter It's a Laravel 8 authentication markdown that will help you to understand and grasp all the underlying functionality for Session an

Sami Alateya 10 Aug 3, 2022
Rinvex Authy is a simple wrapper for @Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest API for developers and a strong authentication platform for the enterprise.

Rinvex Authy Rinvex Authy is a simple wrapper for Authy TOTP API, the best rated Two-Factor Authentication service for consumers, simplest 2fa Rest AP

Rinvex 34 Feb 14, 2022
phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server.

phpCAS is an authentication library that allows PHP applications to easily authenticate users via a Central Authentication Service (CAS) server.

Apereo Foundation 780 Dec 24, 2022
Laravel Auth is a Complete Build of Laravel 8 with Email Registration Verification, Social Authentication, User Roles and Permissions, User Profiles, and Admin restricted user management system.

Laravel Auth is a Complete Build of Laravel 8 with Email Registration Verification, Social Authentication, User Roles and Permissions, User Profiles, and Admin restricted user management system. Built on Bootstrap 4.

Jeremy Kenedy 2.8k Dec 31, 2022
:octocat: Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, you can easily use it without Laravel.

Socialite Socialite is an OAuth2 Authentication tool. It is inspired by laravel/socialite, You can easily use it in any PHP project. ไธญๆ–‡ๆ–‡ๆกฃ This tool no

ๅฎ‰ๆญฃ่ถ… 1.2k Dec 22, 2022
A Simple method to create laravel authentication for an existing laravel project.

Laravel Simple Auth A Simple method to create laravel authentication for an existing laravel project. Indroduction Why I created this kind of package?

Dasun Tharanga 10 Dec 14, 2021
๐Ÿ” JSON Web Token Authentication for Laravel & Lumen

Documentation Documentation for 1.* here For version 0.5.* See the WIKI for documentation. Supported by Auth0 If you want to easily add secure authent

Sean Tymon 10.7k Dec 31, 2022
Library to manage HTTP authentication with PHP. Includes ServiceProviders for easy Laravel integration.

Intervention HttpAuth Library to manage HTTP authentication with PHP. Includes ServiceProviders for easy Laravel integration. Installation You can ins

null 69 Jul 14, 2022
Minimal Laravel authentication scaffolding with Blade and Tailwind.

Introduction Breeze provides a minimal and simple starting point for building a Laravel application with authentication. Styled with Tailwind, Breeze

The Laravel Framework 2.1k Jan 3, 2023
User Authentication Managment With Laravel 8

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

null 17 Jul 17, 2022
Confide is a authentication solution for Laravel 4

Confide (A Laravel4 Package) Confide is an authentication solution for Laravel made to cut repetitive work involving the management of users. A DRY ap

Zizaco 1.2k Dec 30, 2022
Laravel passport authentication API endpoints

Basic sample code for Laravel/Passport to authenticate users via API

Devdreamsolution 2 Oct 19, 2021
๐Ÿ” JSON Web Token Authentication for Laravel & Lumen

Credits This repository it a fork from original tymonsdesigns/jwt-auth, we decided to fork and work independent because the original one was not being

null 490 Dec 27, 2022
Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.

Introduction Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs. Official Documentation Documentation for Sanctum

The Laravel Framework 2.4k Dec 30, 2022
Backend controllers and scaffolding for Laravel authentication.

Introduction Laravel Fortify is a frontend agnostic authentication backend for Laravel. Fortify powers the registration, authentication, and two-facto

The Laravel Framework 1.4k Dec 20, 2022
Social OAuth Authentication for Laravel 5. drivers: facebook, github, google, linkedin, weibo, qq, wechat and douban

Social OAuth Authentication for Laravel 5. drivers: facebook, github, google, linkedin, weibo, qq, wechat and douban

ๅฎ‰ๆญฃ่ถ… 330 Nov 14, 2022
Laravel JWT-Authentication API starter kit for rapid backend prototyping.

Laravel JWT API A Laravel JWT API starter kit. Features Laravel 8 Login, register, email verification and password reset Authentication with JWT Socia

Oybek Odilov 3 Nov 6, 2022
A simple two factor authentication for laravel applications

Laravel 2fa A simple two factor authentication for laravel applications. Installation Require via composer Update database Replace authentication trai

Rezkonline 1 Feb 9, 2022