Authentication Setup
Once you have configured a new authentication provider, you will have to set up your authentication guard to use this new provider as the default.
For this example, we will change our default web
guard to use our new ldap
provider:
// config/auth.php
'guards' => [
'web' => [
'driver' => 'session',
'provider' => 'ldap', // Changed from 'users'
],
// ...
],
Authentication Scaffolding
LdapRecord-Laravel supports both Laravel Jetstream and Laravel UI out-of-the-box. Select whichever authentication scaffolding you feel suits your application best.