Skip to content

Releases: cakephp/authentication

CakePHP Authentication 2.10.0

27 Dec 20:24
Compare
Choose a tag to compare

Updated Dependencies

  • The 2.10.0 release requires a minimum of CakePHP 4.4.0 and PHP 7.4.0
  • The optional dependency on firebase/jwt has changed from ^5.5 to ^6.2

New Features

  • Implement Impersonation by @ajibarra in #532
  • Add AuthenticationComponent identityCheckEvent option by @Erwane in #555
  • Token Identifier: Add Option to Hash Token Before Resolving by @amayer5125 in #559
  • Adds tls option to LDAP identifier by @eardkdw in #510
  • Added EnvironmentAuthenticator to allow integration with Shiboleth authentication by @MolbioUnige in #565

Bug fixes

  • Bump to php-jwt 6.2 and remove temporary/deprecated code by @swiffer in #507
  • User friendly exception when auth middleware is not loaded by @cnizzardini in #513
  • Fix null value causing a type error in the password identifier. by @ndm2 in #542
  • Fix deprecations in tests by @markstory in #544
  • Fix return type for offsetSet() by @othercorey in #547
  • Fix invalid default value for $config parameter by @othercorey in #546
  • Fix return type annotation for Identity::__isset() by @othercorey in #548

Documentation and tooling changes

New Contributors

Full Changelog: 2.9.0...2.10.0

CakePHP Authentication 2.9.0

06 Jan 21:09
71cfa8a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.8.0...2.9.0

CakePHP Authentication 2.8.0

04 Jan 22:23
463bd69
Compare
Choose a tag to compare

What's Changed

  • Allow skipping the challenge exception generation for Http Basic/Digest Auth. by @ADmad in #498
  • Fixed translation errors in documents. by @karintou8710 in #503
  • Added the default option to add the application salt to the cookie by @RobertoRoos in #467

⚠️ Important Upgrade Information for Cookie Authenticator Users

This release changes the default stored token for Cookie Authenticator. The token is now comprised of hash(username + password-hash + hmac(username + password, salt)). This helps prevent forged tokens from being created in case an application database is compromised. This change will invalidate all existing cookie tokens. If you do not desire that, be sure to set salt => false in your configuration for CookieAuthenticator

New Contributors

Full Changelog: 2.7.0...2.8.0

CakePHP Authentication 2.7.0

25 Nov 18:08
6c6291b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.6.2...2.7.0

CakePHP Authentication 2.6.2

25 Nov 18:05
9dc2d73
Compare
Choose a tag to compare

What's Changed

Security Improvements

  • Overwrite "algorithms" config of JWT authenticator instead of merging. by @ADmad in #501

New Contributors

Full Changelog: 2.6.1...2.6.2

CakePHP Authentication 2.6.1

23 Apr 14:36
e4c17b4
Compare
Choose a tag to compare

Fixes

  • Improved documentation.
  • Cleaned up extra parameters passed in tests.
  • Improved the loginUrl mismatch error message.
  • Fixed a regression where identity instances that already implement IdentityInterface were being wrapped in a decorator when it wasn't necessary.

CakePHP Authentication 2.6.0

12 Feb 07:56
6f6988c
Compare
Choose a tag to compare

Fixes

  • Update AuthenticationRequiredException to extend HttpException so that proper status code is set. #437

Enhancements

  • Allow customizing identity attribute in IdentityHelper. #436

CakePHP Authentication 2.5.0

05 Jan 07:24
c8dc3a1
Compare
Choose a tag to compare

Fixes

  • Updated exception base classes to extend HttpException so that status codes continue to work.

CakePHP Authentication 2.4.0

29 Dec 23:46
Compare
Choose a tag to compare

Changes

  • Use Cookie::create() to create cookies. This enables the usage of the samesite attribute.
  • The httpOnly option of CookieAuthenticator is deprecated. Use httponly instead.
  • The expire option of CookieAuthenticator is deprecated. Use expires instead.
  • Added Japanese documentation.
  • Removed unreachable code.

CakePHP Authentication 2.3.1

14 Nov 18:54
0d7b273
Compare
Choose a tag to compare

Fixes

  • Improve documentation for CallbackIdentifier.
  • Add example to docs with multiple authenticators.
  • Added initial japanese translation to the docs.
  • Moved CI to GitHub Actions.