Support the ongoing development of Laravel.io →
Authentication Security Requests
Last updated 2 years ago.
0

EDIT:

Should ofcourse be

userApp.controller('UsersController', function($scope, $resource) {
      $scope.users = $resource('/users/getAllUsers').query();
});
0

I tried that one and it didn't work.. Big thanx anyway!

0

I found the answer. JWT-auth!

Check out https://scotch.io/tutorials/token-based-authentication-for-angularjs-and-laravel-apps if you got the same problem that i had.

0

yes solved

0

Sign in to participate in this thread!

Eventy

Your banner here too?

znittzel znittzel Joined 24 Oct 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.