Skip to content

saulchelewani/auth-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Install the package using composer

composer require tnmdev/auth-service

Migrate the tables

php artisan migrate

Install Laravel passport

php artisan passport:install

Create env variable AUTH_SERVER_CLIENT_SECRET and assign it the client secret provided by the auth server

Make the following changes in App\User model

  • Implement TNM\AuthService\Models\HasPermissions
  • Use TNM\AuthService\Models\HasPermissionsTrait
  • Replace protected $fillable... with protected $guarded = []

About

Auth Service for LDAP Auth Server

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages