diff --git a/config/sanctum.php b/config/sanctum.php index 442726a7..9281c92d 100644 --- a/config/sanctum.php +++ b/config/sanctum.php @@ -19,6 +19,20 @@ env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : '' ))), + /* + |-------------------------------------------------------------------------- + | Sanctum Guards + |-------------------------------------------------------------------------- + | + | This array contains the authentication guards that will be checked when + | Sanctum is trying to authenticate a request. If none of these guards + | are able to authenticate the request, Sanctum will use the bearer + | token that's present on an incoming request for authentication. + | + */ + + 'guard' => ['web'], + /* |-------------------------------------------------------------------------- | Expiration Minutes