Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@azazqadir
Created October 9, 2017 12:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azazqadir/e96e37eeb02dee92852b26e85fbb8daf to your computer and use it in GitHub Desktop.
Save azazqadir/e96e37eeb02dee92852b26e85fbb8daf to your computer and use it in GitHub Desktop.
Laravel REST API Authentication with Passport: https://www.cloudways.com/blog/rest-api-laravel-passport-authentication/
'guards' => [
   'web' => [
       'driver' => 'session',
       'provider' => 'users',
   ],
   'api' => [
       'driver' => 'passport',
       'provider' => 'users',
   ],
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment