You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GrantConfigurator only accepts custom grants implementing the League\Bundle\OAuth2ServerBundle\AuthorizationServer\GrantTypeInterface interface. However, if we want to use a custom grant from a library designed for league/oauth2-server and not for league/oauth2-server-bundle, we must create a new class inheriting from the library's grant in order to add the bundle interface.
It would be desirable for GrantConfigurator to also accept the basic league/oauth2-server interface.
In this case, to configure the access token TTL, I imagine it would be possible to use an attribute associated with the league.oauth2_server.authorization_server.grant tag.
Bundles should contain as less logic as possible 👍 If one can come up with something that allows removing this child interface while keeping the same level of DX and design, I'd be happy.
Activity
chalasr commentedon Mar 22, 2025
Bundles should contain as less logic as possible 👍 If one can come up with something that allows removing this child interface while keeping the same level of DX and design, I'd be happy.
fix: thephpleague#225: GrantConfigurator should accept League\OAuth2\…
fix: thephpleague#225: GrantConfigurator should accept League\OAuth2\…
fix: thephpleague#225: coding standards
fix: thephpleague#225: update documentation to add usage of Autoconfi…
fix: thephpleague#225: register for autoconfiguration of League\OAuth…
fix: thephpleague#225: GrantConfigurator should accept League\OAuth2\…
fix: thephpleague#225: coding standards
fix: thephpleague#225: update documentation to add usage of Autoconfi…
fix: thephpleague#225: register for autoconfiguration of League\OAuth…
fix: thephpleague#225: coding standard & stan
fix: thephpleague#225: revert autoconfiguration of League\OAuth2\Serv…