pn
1 week ago

Laravel 6.0 API Role based Authorization

Posted 1 week ago by pn

I have successfully generated token using Laravel Passport , but how to authorize users based on roles ?, after searching i came to know that Gates and Policies are used to authorize. But how to implement it in the default auth controllers ??, also how to implement if not using default auth ?

Please sign in or create an account to participate in this conversation.