oauth2-server

A spec compliant, secure by default PHP OAuth 2.0 Server

MIT License

Downloads
92.5M
Stars
6.5K
Committers
165

Bot releases are hidden (Show)

oauth2-server - 5.1.4

Published by alexbilbie over 7 years ago

  • Fixed multiple security vulnerabilities as a result of a security audit paid for by the Mozilla Secure Open Source Fund. All users of this library are encouraged to update as soon as possible to this version or version 6.0 or greater.
    • It is recommended on each AuthorizationServer instance you set the setEncryptionKey(). This will result in stronger encryption being used. If this method is not set messages will be sent to the defined error handling routines (using error_log). Please visit this page for more information - https://oauth2.thephpleague.com/v5-security-improvements/
  • TravisCI now tests PHP 7.1 (Issue #671)
  • Fix middleware example fatal error (Issue #682)
  • Fix typo in the first README sentence (Issue #690)
  • Corrected DateInterval from 1 min to 1 month (Issue #709)
oauth2-server - 5.1.1

Published by alexbilbie about 8 years ago

  • Improved test suite (Issue #614)
  • Updated docblocks (Issue #616)
  • Replace array_shift with foreach loop (Issue #621)
  • Allow easy addition of custom fields to Bearer token response (Issue #624)
  • Key file auto-generation from string (Issue #625)
oauth2-server - 5.1.0

Published by alexbilbie over 8 years ago

  • Implemented RFC7636 (Issue #574)
  • Unify middleware exception responses (Issue #578)
  • Updated examples (Issue #589)
  • Ensure state is in access denied redirect (Issue #597)
  • Remove redundant isExpired() method from entity interfaces and traits (Issue #600)
  • Added a check for unique access token constraint violation (Issue #601)
  • Look at Authorization header directly for HTTP Basic auth checks (Issue #604)
  • Added catch Runtime exception when parsing JWT string (Issue #605)
  • Allow paragonie/random_compat 2.x (Issue #606)
  • Added indigophp/hash-compat to Composer suggestions and require-dev for PHP 5.5 support
oauth2-server - 5.0.3

Published by alexbilbie over 8 years ago

  • Fix hints in PasswordGrant (Issue #560)
  • Add meaning of Resource owner to terminology.md (Issue #561)
  • Use constant for event name instead of explicit string (Issue #563)
  • Remove unused request property (Issue #564)
  • Correct wrong phpdoc (Issue #569)
  • Fixed typo in exception string (Issue #570)
oauth2-server - 5.0.2

Published by alexbilbie over 8 years ago

  • state parameter is now correctly returned after implicit grant authorization
  • Small code and docblock improvements
oauth2-server - 5.0.1

Published by alexbilbie over 8 years ago

  • Fixes an issue (#550) whereby it was unclear whether or not to validate a client's secret during a request.
oauth2-server - 5.0.0

Published by alexbilbie over 8 years ago

Version 5 is a complete code rewrite.

  • JWT support
  • PSR-7 support
  • Improved exception errors
  • Replace all occurrences of the term "Storage" with "Repository"
  • Simplify repositories
  • Entities conform to interfaces and use traits
  • Auth code grant updated
    • Allow support for public clients
    • Add support for #439
  • Client credentials grant updated
  • Password grant updated
    • Allow support for public clients
  • Refresh token grant updated
  • Implement Implicit grant
  • Bearer token output type
  • Remove MAC token output type
  • Authorization server rewrite
  • Resource server class moved to PSR-7 middleware
  • Tests
  • Much much better documentation

Changes since RC2:

  • Renamed Server class to AuthorizationServer
  • Added ResourceServer class
  • Run unit tests again PHP 5.5.9 as it's the minimum supported version
  • Enable PHPUnit 5.0 support
  • Improved examples and documentation
  • Make it clearer that the implicit grant doesn't support refresh tokens
  • Improved refresh token validation errors
  • Fixed refresh token expiry date
oauth2-server - 5.0.0-RC2

Published by alexbilbie over 8 years ago

RC2 changes

  • Allow multiple client redirect URIs (Issue #511)
  • Remove unused mac token interface (Issue #503)
  • Handle RSA key passphrase (Issue #502)
  • Remove access token repository from response types (Issue #501)
  • Remove unnecessary methods from entity interfaces (Issue #490)
  • Ensure incoming JWT hasn't expired (Issue #509)
  • Fix client identifier passed where user identifier is expected (Issue #498)
  • Removed built-in entities; added traits to for quick re-use (Issue #504)
  • Redirect uri is required only if the "redirect_uri" parameter was included in the authorization request (Issue #514)
  • Removed templating for auth code and implicit grants (Issue #499)

About version 5

Version 5 is a complete code rewrite.

  • JWT support
  • PSR-7 support
  • Improved exception errors
  • Replace all occurrences of the term "Storage" with "Repository"
  • Simplify repositories
  • Entities conform to interfaces and use traits
  • Auth code grant updated
    • Allow support for public clients
    • Add support for #439
  • Client credentials grant updated
  • Password grant updated
    • Allow support for public clients
  • Refresh token grant updated
  • Implement Implicit grant
  • Bearer token output type
  • Remove MAC token output type
  • Authorization server rewrite
  • Resource server class moved to PSR-7 middleware
  • Tests
  • Much much better documentation
oauth2-server - 5.0.0-RC1

Published by alexbilbie over 8 years ago

Version 5 is a complete code rewrite.

  • JWT support
  • PSR-7 support
  • Improved exception errors
  • Replace all occurrences of the term "Storage" with "Repository"
  • Simplify repositories
  • Entities conform to interfaces and use traits
  • Auth code grant updated
    • Allow support for public clients
    • Add support for #439
  • Client credentials grant updated
  • Password grant updated
    • Allow support for public clients
  • Refresh token grant updated
  • Implement Implicit grant
  • Bearer token output type
  • Remove MAC token output type
  • Authorization server rewrite
  • Resource server class moved to PSR-7 middleware
  • Tests
  • Much much better documentation
oauth2-server - 4.1.5

Published by alexbilbie almost 9 years ago

  • Enable Symfony 3.0 support (#412)
oauth2-server - 4.1.4

Published by alexbilbie almost 9 years ago

  • Fix for determining access token in header (Issue #328)
  • Refresh tokens are now returned for MAC responses (Issue #356)
  • Added integration list to readme (Issue #341)
  • Expose parameter passed to exceptions (Issue #345)
  • Removed duplicate routing setup code (Issue #346)
  • Docs fix (Issues #347, #360, #380)
  • Examples fix (Issues #348, #358)
  • Fix typo in docblock (Issue #352)
  • Improved timeouts for MAC tokens (Issue #364)
  • hash_hmac() should output raw binary data, not hexits (Issue #370)
  • Improved regex for matching all Base64 characters (Issue #371)
  • Fix incorrect signature parameter (Issue #372)
  • AuthCodeGrant and RefreshTokenGrant don't require client_secret (Issue #377)
  • Added priority argument to event listener (Issue #388)
oauth2-server - 4.1.3

Published by alexbilbie over 9 years ago

  • Docblock, namespace and inconsistency fixes (Issue #303)
  • Docblock type fix (Issue #310)
  • Example bug fix (Issue #300)
  • Updated league/event to ~2.1 (Issue #311)
  • Fixed missing session scope (Issue #319)
  • Updated interface docs (Issue #323)
  • .travis.yml updates
oauth2-server - 4.1.1

Published by alexbilbie almost 10 years ago

  • Changed symfony/http-foundation dependency version to ~2.4 so package can be installed in Laravel 4.1.*
oauth2-server - 4.1.2

Published by alexbilbie almost 10 years ago

  • Remove side-effects in hash_equals() implementation (Issue #290)
oauth2-server - 4.1.0

Published by alexbilbie almost 10 years ago

  • Added MAC token support (Issue #158)
  • Fixed example init code (Issue #280)
  • Toggle refresh token rotation (Issue #286)
  • Docblock fixes
oauth2-server - 4.0.5

Published by alexbilbie almost 10 years ago

  • Prevent duplicate session in auth code grant (Issue #282)
oauth2-server - 4.0.4

Published by alexbilbie almost 10 years ago

  • Ensure refresh token hasn't expired (Issue #270)
oauth2-server - 4.0.3

Published by alexbilbie almost 10 years ago

  • Fix bad type hintings (Issue #267)
  • Do not forget to set the expire time (Issue #268)
oauth2-server - 4.0.2

Published by alexbilbie almost 10 years ago

  • Improved interfaces (Issue #255)
  • Learnt how to spell delimiter and so getScopeDelimiter() and setScopeDelimiter() methods have been renamed
  • Docblock improvements (Issue #254)
oauth2-server - 4.0.1

Published by alexbilbie almost 10 years ago

  • Alias the master branch in composer.json (Issue #243)
  • Numerous PHP CodeSniffer fixes (Issue #244)
  • .travis.yml update (Issue #245)
  • The getAccessToken method should return an AccessTokenEntity object instead of a string in ResourceServer.php (#246)
Package Rankings
Top 0.08% on Packagist.org
Related Projects