Skip to content

Releases: thephpleague/oauth2-server

7.3.1

15 Nov 22:39
f2cd364
Compare
Choose a tag to compare

Fixed

  • Fix issue with previous release where interface had changed for the AuthorizationServer. Reverted to the previous interface while maintaining functionality changes (PR #970)

7.3.0

13 Nov 20:19
a61c6a3
Compare
Choose a tag to compare

Changed

  • Moved the finalizeScopes() call from validateAuthorizationRequest method to the completeAuthorizationRequest method so it is called just before the access token is issued (PR #923)

Added

  • Added a ScopeTrait to provide an implementation for jsonSerialize (PR #952)
  • Ability to nest exceptions (PR #965)

Fixed

  • Fix issue where AuthorizationServer is not stateless as ResponseType could store state of a previous request (PR #960)

7.2.0

23 Jun 16:58
8184f77
Compare
Choose a tag to compare

Changed

  • Added newvalidateRedirectUri method AbstractGrant to remove three instances of code duplication (PR #912)
  • Allow 640 as a crypt key file permission (PR #917)

Added

  • Function hasRedirect() added to OAuthServerException (PR #703)

Fixed

  • Catch and handle BadMethodCallException from the verify() method of the JWT token in the validateAuthorization method (PR #904)

4.1.7

23 Jun 16:40
1385249
Compare
Choose a tag to compare

Fixed

  • Ensure empty() function call only contains variable to be compatible with PHP 5.4 (PR #918)

7.1.1

21 May 14:03
2e47fa7
Compare
Choose a tag to compare

Fixed

  • No longer set a WWW-Authenticate header for invalid clients if the client did not send an Authorization header in the original request (PR #902)

7.1.0

22 Apr 14:19
bd47b58
Compare
Choose a tag to compare

Changed

  • Changed hint for unsupportedGrantType exception so it no longer references the grant type parameter which isn't always expected (PR #893)
  • Upgrade PHPStan checks to level 7 (PR #856)

Added

  • Added event emitters for issued access and refresh tokens (PR #860)
  • Can now use Defuse\Crypto\Key for encryption/decryption of keys which is faster than the Cryto class (PR #812)

7.0.0

18 Feb 15:57
456c6cf
Compare
Choose a tag to compare
Merge pull request #854 from Sephster/master

Version 7

6.1.1

23 Dec 23:34
a0cabb5
Compare
Choose a tag to compare
  • Removing check on empty scopes

6.1.0

23 Dec 23:27
276d5b6
Compare
Choose a tag to compare
  • Changed the token type issued by the Implicit Grant to be Bearer instead of bearer. (PR #724)
  • Replaced call to array_key_exists() with the faster isset() on the Implicit Grant. (PR #749)
  • Allow specification of query delimiter character in the Password Grant (PR #801)
  • Add Zend Diactoros library dependency to examples (PR #678)
  • Can set default scope for the authorization endpoint. If no scope is passed during an authorization request, the default scope will be used if set. If not, the server will issue an invalid scope exception (PR #811)
  • Added validation for redirect URIs on the authorization end point to ensure exactly one redirection URI has been passed (PR #573)

5.1.6

29 Nov 21:59
a1a6cb7
Compare
Choose a tag to compare
  • Add toggle to disable key permissions check. (Issue #776)