LaravelPackages.net
Acme Inc.
Toggle sidebar
freebuu/authentik-forward-auth

Authentik forward auth package for Laravel

22
0
0.1.1
About freebuu/authentik-forward-auth

freebuu/authentik-forward-auth is a Laravel package for authentik forward auth package for laravel. It currently has 0 GitHub stars and 22 downloads on Packagist (latest version 0.1.1). Install it with composer require freebuu/authentik-forward-auth. Discover more Laravel packages by freebuu or browse all Laravel packages to compare alternatives.

Last updated

Authentik Forward Auth

Laravel guard + user provider for Authentik Forward Auth.

Install

composer require freebuu/authentik-forward-auth

Simple configuration

// config/auth.php

'guards' => [
    //...other guards
    'authentik' => [
        'driver' => 'authentik',
        'provider' => 'authentik_generic',
    ],
],

'providers' => [
    //...other providers...
    'authentik_generic' => [
        'driver' => 'eloquent_authentik',
    ],
],

All done, you can now use the guard as auth:authentik in middlewre.

With this configuration you receive AuthentikUser from auth('authentik')->user()

Eloquent

To be continued...

Comments