This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Service for IIS Windows authentication in Laravel

v1.0.0 2017-05-19 09:29 UTC

This package is auto-updated.

Last update: 2021-04-28 11:13:46 UTC


Provides implementation of integrated authentication when using Windows auth option with IIS and Active Directory.


  1. Add JakubKlapka\LaravelWindowsAuth\Providers\ServiceProvider::class to your app.php.
  2. Run php artisan vendor:publish to export config file.
  3. In config\ad_auth.php set allowed AD domains (or don't)
  4. In config\auth.php set guard to windows, for example:
'defaults' => [
    'guard' => 'windows',
'guards' => [
    'windows' => [
        'driver' => 'windows',
        'provider' => 'users'

Don't forget to implement \Illuminate\Contracts\Auth\Authenticatable in your User model, if you are not using default Eloquent one.