trikoder/oauth2-bundle
Symfony bundle which provides OAuth 2.0 authorization/resource server capabilities.
v4.0.0
1.9M downloads/mo
#4007 most downloaded on Packagist
trikoder/oauth2-bundle
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 6 weeks to 2.5 years
Nearly every release is documented
notes for 11 of 12 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
13 releases · first in 2018
0 releases in the last 12 months
see the full history below
Release timeline
13 releases · Nov 2018 to Jun 2023Releases
latest 13-
v4.0.029 Jun 2023Nothing published for this version
-
v3.2.117 Apr 2023Release notes
Open source →Fixed
- PHP 8.1 deprecation (#308)
Huge thank you to the following contributors for making this release possible:
-
v3.2.026 Oct 2020Release notes
Open source →Added
- Jobs with the
prefer-lowestcomposer flag to CI (#204) - On delete
CASCADEon authorization code entity client association (#216) Trikoder\Bundle\OAuth2Bundle\Event\AbstractUserResolveEventabstract class for user resolve events (#221)- Add per grant type configuration options (#199)
- CI testing - Symfony 5.1 (#230)
- Cleanup command (
trikoder:oauth2:clear-revoked-tokens) for revoked tokens (#234) - Setter for the
secretproperty of theClientDoctrine entity (#239)
Changed
- Pass previous exception to
Oauth2AuthenticationFailedExceptionexception (#223) - Allow PHPUnit 9 (#238)
Deprecated
- Legacy service aliases (#203)
Huge thank you to the following contributors for making this release possible:
Release notes
Open source →Added
- Jobs with the
prefer-lowestcomposer flag to CI (#204) - On delete
CASCADEon authorization code entity client association (#216) Trikoder\Bundle\OAuth2Bundle\Event\AbstractUserResolveEventabstract class for user resolve events (#221)- Add per grant type configuration options (#199)
- CI testing - Symfony 5.1 (#230)
- Cleanup command (
trikoder:oauth2:clear-revoked-tokens) for revoked tokens (#234) - Setter for the
secretproperty of theClientDoctrine entity (#239)
Changed
- Pass previous exception to
Oauth2AuthenticationFailedExceptionexception (#223) - Allow PHPUnit 9 (#238)
Deprecated
- Legacy service aliases (#203)
- Jobs with the
-
v3.1.110 Apr 2020Release notes
Open source →Removed
userIdentifierindex fromoauth2_access_tokenandoauth2_authorization_codetables (6108915)
Release notes
Open source →Removed
userIdentifierindex fromoauth2_access_tokenandoauth2_authorization_codetables (6108915)
-
v3.1.009 Apr 2020Release notes
Open source →Added
- Ability to revoke credentials (access tokens, authorization codes and refresh tokens) programmatically (fee109d)
- Support for registering custom grant types (6b37588)
Fixed
- Console command
trikoder:oauth2:list-clientsnot being able to list clients without a secret (da38b7a)
Huge thank you to the following contributors for making this release possible:
Release notes
Open source →Added
- Ability to revoke credentials (access tokens, authorization codes and refresh tokens) programmatically (fee109d)
- Support for registering custom grant types (6b37588)
Fixed
- Console command
trikoder:oauth2:list-clientsnot being able to list clients without a secret (da38b7a)
-
v3.0.026 Feb 2020Release notes
Open source →Added
- Ability to restrict clients from using the
plainchallenge method during PKCE (4562a1f) - Ability to clear expired authorization codes (91b6447)
- Support for defining public (non-confidential) clients (8a71f55)
- The bundle is now compatible with Symfony 5.x (3f36977)
Changed
- PSR-7 Bridge version constraint to
^2.0(3c741ca) - The bundle now relies on
8.xversions of league/oauth2-server for base functionality (8becc18)
Removed
- Support for Symfony 3.4, 4.2 and 4.3 (3f36977)
Huge thank you to the following contributors for making this release possible:
Release notes
Open source →Added
- Ability to restrict clients from using the
plainchallenge method during PKCE (4562a1f) - Ability to clear expired authorization codes (91b6447)
- Support for defining public (non-confidential) clients (8a71f55)
- The bundle is now compatible with Symfony 5.x (3f36977)
Changed
- PSR-7 Bridge version constraint to
^2.0(3c741ca) - The bundle now relies on
8.xversions of league/oauth2-server for base functionality (8becc18)
Removed
- Support for Symfony 3.4, 4.2 and 4.3 (3f36977)
- Ability to restrict clients from using the
-
v2.1.125 Feb 2020Release notes
Open source →Added
- The bundle is now additionally tested against PHP 7.4 (2b29be3)
Fixed
- Authentication provider not being aware of the current firewall context (d349329)
- Faulty logic when revoking authorization codes (24ad882)
Huge thank you to the following contributors for making this release possible:
Release notes
Open source → -
v2.1.009 Dec 2019Release notes
Open source →Added
- Ability to change the scope role prefix using the
role_prefixconfiguration option (b2ee617) - Interfaces for converter type service classes (d2caf69)
- New testing target in Travis CI for Symfony 4.4 (8a44fd4)
- The bundle is now fully compatible with Symfony Flex (a4ccea1)
Changed
- DoctrineBundle version constraint to allow
2.xderived versions (885e398) - Explicitly list league/oauth2-server version requirements in the documentation (9dce66a)
- Reduce distributed package size by excluding files that are used only for development (80b9e41)
- Simplify
AuthorizationRequestResolveEventclass creation (32908c1)
Fixed
- Not being able to delete clients that have access/refresh tokens assigned to them (424b770)
Huge thank you to the following contributors for making this release possible:
- @Allypost
- @HypeMC
- @kennydeckers
- @Nyholm
- @rjwebdev
- @spideyfusion
- @X-Coder264
Release notes
Open source →Added
- Ability to change the scope role prefix using the
role_prefixconfiguration option (b2ee617) - Interfaces for converter type service classes (d2caf69)
- New testing target in Travis CI for Symfony 4.4 (8a44fd4)
- The bundle is now fully compatible with Symfony Flex (a4ccea1)
Changed
- DoctrineBundle version constraint to allow
2.xderived versions (885e398) - Explicitly list league/oauth2-server version requirements in the documentation (9dce66a)
- Reduce distributed package size by excluding files that are used only for development (80b9e41)
- Simplify
AuthorizationRequestResolveEventclass creation (32908c1)
Fixed
- Not being able to delete clients that have access/refresh tokens assigned to them (424b770)
- Ability to change the scope role prefix using the
-
v2.0.113 Aug 2019Release notes
Open source →Removed
- PSR-7/17 alias check during the container compile process (0847ea3)
Release notes
Open source →Removed
- PSR-7/17 alias check during the container compile process (0847ea3)
-
v2.0.008 Aug 2019Release notes
Open source →Added
- Ability to specify a Defuse key as the encryption key (d83fefe)
- Ability to use different PSR-7/17 HTTP transport implementations (4973e1c)
- Allow configuration of the private key passphrase (f16ec67)
- Checks if dependent bundles are enabled in the application kernel (38f6641)
- Console command for clearing expired access and refresh tokens (de3e338)
- Console commands for client management (2425b3d, 56aafba)
- Server grant types can now be enabled/disabled through bundle configuration (baffa92)
- Support for the "authorization_code" server grant type (a61114a)
- Support for the "implicit" server grant type (91b3d75)
- Support for Symfony 4.3 (e4cf668)
- The bundle is now additionally tested against PHP 7.3 (9f5937b)
Changed
- Authentication exceptions are now thrown instead of setting the response object (8a505f6)
- Modernize bundle service definitions (fc1f855, ef2f557)
- Previously documented client scope inheriting and restricting is now the new default behavior (af9bffc)
- Relaxed the league/oauth2-server package version constraint to allow non-braking changes (26d9c0b)
- Use
DateTimeInterfaceinstead ofDateTimewhenever possible (4549252)
Fixed
- DoctrineBundle related deprecation notices (fbde15b)
- Not being able to override the "persistence" config tree from other configuration files (b62b331)
- Symfony related deprecation notices (601d482)
Removed
- Redundant configuration node options (5fa60ef)
- Support for Symfony 4.1 (4973e1c)
- Unsupported HTTP verbs on the
/authorizeand/tokenendpoints (51ef5ae)
Huge thank you to the following contributors for making this release possible:
Release notes
Open source →Added
- Ability to specify a Defuse key as the encryption key (d83fefe)
- Ability to use different PSR-7/17 HTTP transport implementations (4973e1c)
- Allow configuration of the private key passphrase (f16ec67)
- Checks if dependent bundles are enabled in the application kernel (38f6641)
- Console command for clearing expired access and refresh tokens (de3e338)
- Console commands for client management (2425b3d, 56aafba)
- Server grant types can now be enabled/disabled through bundle configuration (baffa92)
- Support for the "authorization_code" server grant type (a61114a)
- Support for the "implicit" server grant type (91b3d75)
- Support for Symfony 4.3 (e4cf668)
- The bundle is now additionally tested against PHP 7.3 (9f5937b)
Changed
- Authentication exceptions are now thrown instead of setting the response object (8a505f6)
- Modernize bundle service definitions (fc1f855, ef2f557)
- Previously documented client scope inheriting and restricting is now the new default behavior (af9bffc)
- Relaxed the league/oauth2-server package version constraint to allow non-braking changes (26d9c0b)
- Use
DateTimeInterfaceinstead ofDateTimewhenever possible (4549252)
Fixed
- DoctrineBundle related deprecation notices (fbde15b)
- Not being able to override the "persistence" config tree from other configuration files (b62b331)
- Symfony related deprecation notices (601d482)
Removed
-
v2.0.0-beta114 Jun 2019 pre-releaseNothing published for this version
-
v1.1.007 Jan 2019Release notes
Open source →Added
- The bundle is now compatible with Symfony 3.4 (0ba9cb3)
Changed
- Bundle dependency requirements are now more relaxed (158d221)
- Permission checks against private/public keys are no longer enforced (a24415a)
Fixed
-
v1.0.028 Nov 2018