vendredi 9 février 2018

Laravel 5.5 scopes definition

I'm trying to make a scopes configuration. The scopes are build in the follow schema:

module:submodule:action

Also, I defined on boot section

Passport::tokensCan($scopes);

However, I got the following error when I'm trying to generate a token using oauth2 with Passport:

The requested scope is invalid, unknown, or malformed



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire