Appearance
Configuration
Edit config/auth.php.
Guards
php
'guards' => [
'carro' => [
'driver' => 'carro',
'provider' => 'users',
]
]Providers
Replace the users provider:
php
'providers' => [
'users' => [
'driver' => 'carro',
'repository' => \Carro\SsoClient\Auth\UserRepository::class
],
],Service Provider
In AuthServiceProvider.php or AppServiceProvider, add inside boot:
php
use Carro\SsoClient\AuthClient;
public function boot()
{
AuthClient::routes();
}