Category "custom-authentication"

Method Illuminate\Database\Eloquent\Collection::orderby does not exist

$posts = Post::all()->orderby('created_at','desc')->where('usr_id','=',session('LoggedUser'))->get(); return view('admin.profile',compact('userIn

AWS API Gateway custom Authorizer strange showing error

Here is the context: I set up a resource in the API gateway. /user/company This resource have 2 methods. Get and POST. I have configured a custom Authorizer fo