ronvanderheijden / openid-connect

Adds the OpenID Connect identity layer to the PHP League's OAuth2 Server. With Laravel Passport support.
MIT License
42 stars 13 forks source link

Setting to disable tokens_can #20

Closed DellanX closed 7 months ago

DellanX commented 10 months ago

For projects that need to register scopes in a ServiceProvider, allow for disabling this packages scope registration.

Resolving #19

DellanX commented 9 months ago

I just realized, this will also potentially resolve #11, assuming that any desired scopes from #11 are added to the scopes declared wherever the Passport::tokensCan($scopes) method is called. (My use case calls tokensCan in the AuthServiceProvider