Skip to content

Releases: cakephp/authentication

CakePHP Authentication 1.2.0

21 Sep 15:26
4884c2b
Compare
Choose a tag to compare

Deprecations

  • Setting the unauthenticatedRedirect, queryParam and identityAttribute options on AuthenticationMiddleware is deprecated. These options should now be set on the service.

New Features

  • The unauthenticatedRedirect, and queryParam options can now be configured on the AuthenticationService. This makes it easier to use Router to generate the redirect URL.

Other Changes

To fix a potential session fixation problem in the SessionAuthenticator without impacting SecurityComponent identity information is now persisted to the session after the controller action is complete. If your application accesses the currently logged in identity through the session directly you will get information from the previous request. You should consider updating your code to use $request->getAttribute('identity') instead.

CakePHP Authentication 1.1.5

21 Sep 00:28
d39e50f
Compare
Choose a tag to compare

Fixes

  • The session id rotation changes added in 1.1.3 have been reverted. They broke compatibility with SecurityComponent in a way that could not be fixed without other changes.
  • This release is susceptible to session fixation attacks due to the removed session id regeneration. Upgrade to 1.2.0 to resolve this.

CakePHP Authentication 1.1.4

09 Sep 14:13
72c26cf
Compare
Choose a tag to compare

Fixes

  • Fixed session being rotated on each request. Now the session is only rotated when the session storage moves from empty to not empty.

CakePHP Authentication 1.1.3

06 Sep 13:57
d7659d5
Compare
Choose a tag to compare

Fixes

  • Removed protocol and host from redirect query string parameter.
  • Improved documentation on migrating from AuthComponent.
  • Improved doc strings.
  • SessionAuthenticator now rotates the session ID when persisting or clearing an identity.

Other

  • Updated dependency on firebase/php-jwt

CakePHP Authentication 1.1.2

17 Mar 01:58
Compare
Choose a tag to compare
  • Fixed redirect URL generation when the target URL contains a fragment.

CakePHP Authentication 1.1.1

12 Mar 00:17
524dc70
Compare
Choose a tag to compare
  • Fixed base directory handling for CakePHP applications inside a subdirectory.

CakePHP Authentication 1.1.0

25 Jan 03:32
525f0e0
Compare
Choose a tag to compare
  • Fixed deprecation warnings related to CakePHP 3.7
  • Started using new methods offered by CakePHP 3.7+

1.0.1

17 Nov 06:49
1.0.1
17db134
Compare
Choose a tag to compare
  • Fixed status code on AuthenticationException.

1.0.0

17 Nov 06:49
1.0.0
8760443
Compare
Choose a tag to compare
  • Authentication 1.0.0

Authentication 1.0.0-rc9

12 Sep 10:38
8760443
Compare
Choose a tag to compare
Pre-release

Changes

  • Unauthenticated requests are redirected with 302 response code.

New Features

  • AuthenticationComponent::getAuthenticationService() has been added.