Authentik forward auth package for Laravel
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
Laravel guard + user provider for Authentik Forward Auth.
composer require freebuu/authentik-forward-auth
config/auth.php:// 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()
To be continued...