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

Feature Request: Configuration option to disable tokens_can registration #19

Closed DellanX closed 5 months ago

DellanX commented 10 months ago

I have a large amount of scopes that I want to register, which I serialize into a json file. This isn't something I want to load and process in my AuthServiceProvider.

To allow for this implementation, I need to disable the tokens_can registration that this package is doing.

I think I might just make a modification to the service provider, if the tokens_can array isn't defined, don't execute it in the this package's service provider.