Skip to content

Releases: thephpleague/oauth2-server

7.3.3

29 Mar 18:20
c7f4998
Compare
Choose a tag to compare

Added

  • Added error_description to the error payload to improve standards compliance. The contents of this are copied from the existing message value. (PR #1006)

Deprecated

  • Error payload will not issue message value in the next major release (PR #1006)

7.3.2

21 Nov 21:46
b71f382
Compare
Choose a tag to compare

Fixed

  • Revert setting keys on response type to be inside getResponseType() function instead of AuthorizationServer constructor (PR #969)

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