PHPackages                             klepak/nova-ad-auth - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. klepak/nova-ad-auth

ActiveProject[Authentication &amp; Authorization](/categories/authentication)

klepak/nova-ad-auth
===================

Laravel Nova AD Authentication with SSO in IIS

v1.0(7y ago)14PHP

Since Mar 30Pushed 6y ago1 watchersCompare

[ Source](https://github.com/klepak/nova-ad-auth)[ Packagist](https://packagist.org/packages/klepak/nova-ad-auth)[ RSS](/packages/klepak-nova-ad-auth/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (2)Used By (0)

Install
=======

[](#install)

```
composer require nova-ad-auth

```

**Add package provider after Nova provider in app.php**

```
    'providers' => [

        ...

        App\Providers\NovaServiceProvider::class,
        Klepak\NovaAdAuth\AdAuthenticationServiceProvider::class,
    ];
```

**Add to EventServiceProvider**

```
    use Adldap\Laravel\Events\AuthenticatedWithWindows;
    use Klepak\NovaAdAuth\Listeners\SynchronizeUserPermissions;
    use Klepak\NovaAdAuth\Listeners\SynchronizeUserThumbnail;

    ...

    protected $listen = [

        ...

        AuthenticatedWithWindows::class => [
            SynchronizeUserPermissions::class,
            SynchronizeUserThumbnail::class,
        ],
    ];
```

**Add route middleware in Kernel.php**

```
protected $routeMiddleware = [

    ...

    'auth.sso' => \Adldap\Laravel\Middleware\WindowsAuthenticate::class,
    'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class,
    'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
];
```

**Publish assets**

```
php artisan vendor:publish --provider="Klepak\NovaAdAuth\AdAuthenticationServiceProvider" --force

```

**NOTE: this will replace your existing auth and adldap config**

Configure SSO
-------------

[](#configure-sso)

- Create a directory in your public folder called sso
- Copy your index.php to this directory, and add an additional ../ to all paths
- Create file called web.config in this directory, with following contents:

```

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2602d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8712465c0072cf9165361e9de1be00199befd6e3fdc7097cf6217fc20d9dfc3e?d=identicon)[knutle](/maintainers/knutle)

### Embed Badge

![Health badge](/badges/klepak-nova-ad-auth/health.svg)

```
[![Health](https://phpackages.com/badges/klepak-nova-ad-auth/health.svg)](https://phpackages.com/packages/klepak-nova-ad-auth)
```

###  Alternatives

[lab404/laravel-impersonate

Laravel Impersonate is a plugin that allows to you to authenticate as your users.

2.3k16.4M48](/packages/lab404-laravel-impersonate)[overtrue/laravel-follow

User follow unfollow system for Laravel.

1.2k404.7k5](/packages/overtrue-laravel-follow)[althinect/filament-spatie-roles-permissions

340954.7k9](/packages/althinect-filament-spatie-roles-permissions)[tuandm/laravue

A beautiful dashboard for Laravel built by VueJS

2.2k16.6k](/packages/tuandm-laravue)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
