Skip to content

Releases: cakephp/authentication

CakePHP Authentication 2.9.0

06 Jan 21:09
71cfa8a

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

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

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

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

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

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

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

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

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.

CakePHP Authentication 2.3.0

17 May 02:27
0ee1b43

Choose a tag to compare

Added

  • Improved documentation for JwtAuthenticator.
  • Added subjectKey option to JwtAuthenticator. This new option allows you to define the claim/subject key used in your JWT tokens. This option defaults to the previously hardcoded value of sub