5 months ago

Laravel 6.0 API Role based Authorization

Posted 5 months 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.