Skip to content

Releases: auth0/auth0-PHP

v5.6.0

26 Sep 17:44
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • [Auth0\SDK\Exception\CoreException] Invalid domain when trying to run unit tests with Codeception 3.1.0 #358
  • JWT Verification fails everytime #356
  • Bulk User Imports - I can't Use upsert as a paramater for the importUsers feature #353

Added

  • Add \Auth0\SDK\Auth0::getLoginUrl() method and switch login() to use it #371 (joshcanhelp)
  • Add JWKFetcher::getFormatted() method and switch validator to use #369 (joshcanhelp)
  • Add additional API params to Jobs > importUsers #354 (pinodex)

Deprecated

v5.5.1

15 Jul 16:29
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • No packagist package created for 5.5.0 #346

Fixed

  • Fix empty url params #349 (joshcanhelp)
  • Fix tests to reduce the number of sensitive credentials used #348 (joshcanhelp)
  • Change normalizeIncludeTotals() in GenericResource to have sane defaults #347 (kler)

v5.5.0

07 Jun 19:36
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Consider dropping PHP-5.x version supports #343
  • Auth0 Error: 'Invalid state' in /auth0/vendor/auth0/auth0-php/src/Auth0.php: line#537 #333

Added

v5.4.0

28 Feb 17:39
Compare
Choose a tag to compare

Full Changelog

Notes for this release:

  • \Auth0\SDK\Auth0 now accepts a $config key called skip_userinfo that uses the decoded ID token for the user profile instead of a call to the /userinfo endpoint. This will save an HTTP call during login and should have no affect on most applications.

Closed issues

  • Auth0::exchange() assumes a valid id_token #317
  • Feature Request: Support sending auth0-forwarded-for header #208

Added

Changed

Deprecated

  • Official deprecation for JWKFetcher method #328 (joshcanhelp)
    • \Auth0\SDK\Helpers\JWKFetcher::fetchKeys()
  • Official deprecation for User methods #327 (joshcanhelp)
    • \Auth0\SDK\API\Management\Users::search()
    • \Auth0\SDK\API\Management\Users::unlinkDevice()
  • Official deprecation of ClientGrants method #326 (joshcanhelp)
    • \Auth0\SDK\API\Management\ClientGrants::get()
  • Official deprecation of legacy InformationHeaders methods #325 (joshcanhelp)
    • \Auth0\SDK\API\Helpers\InformationHeaders::setEnvironment()
    • \Auth0\SDK\API\Helpers\InformationHeaders::setDependency()
    • \Auth0\SDK\API\Helpers\InformationHeaders::setDependencyData()
  • Official deprecation of legacy Authentication methods #324 (joshcanhelp)
    • \Auth0\SDK\API\Authentication::setApiClient()
    • \Auth0\SDK\API\Authentication::sms_code_passwordless_verify()
    • \Auth0\SDK\API\Authentication::email_code_passwordless_verify()
    • \Auth0\SDK\API\Authentication::impersonate()

Fixed

v5.3.2

02 Nov 16:48
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Something is wrong with the latest release 5.3.1 #303

Fixed

v5.3.1

31 Oct 16:54
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Array to String exception when audience is an array #296
  • Passing accessToken from frontend to PHP API #281
  • Deprecated method email_code_passwordless_verify #280

Added

  • Fix documentation for Auth0 constructor options #298 (biganfa)

Changed

Fixed

v5.3.0

09 Oct 19:50
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Question: Handling rate limits #277
  • Allow configuration of the JWKS URL #276
  • Allow changing the session key name #273
  • SessionStore overrides PHP session cookie lifetime setting #215

Added

Changed

  • Build/PHPCS: update/improve the PHPCS configuration #284 (jrfnl)

Deprecated

Removed

Fixed

  • Whitespace pass with new standards using composer phpcbf #268 (joshcanhelp)

Security

5.2.0

13 Jun 18:08
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • getAppMetadata - how to use? #248
  • Auth0 class missing action to renew access token #234
  • DOC maj #217

Added

Changed

Fixed

5.1.1

12 Apr 16:44
Compare
Choose a tag to compare

5.1.1 (2018-04-03)

Full Changelog

Closed issues

  • State Handler with Custom Session Store #233
  • Implement ResourceServices::getAll #200

Added

Fixed

5.1.0

05 Mar 17:41
Compare
Choose a tag to compare

State validation was added in 5.1.0 for improved security. By default, this uses session storage and will happen automatically if you are using a combination of Auth0::login() and any method which calls Auth0::exchange() in your callback.

If you need to use a different storage method, implement your own StateHandler and set it using the state_handler config key when you initialize an Auth0 instance.

If you are using Auth0::exchange() and a method other than Auth0::login() to generate the Authorize URL, you can disable automatic state validation by setting the state_handler key to false when you initialize the Auth0 instance. It is highly recommended to implement state validation, either automatically or otherwise

Closed issues

  • Support for php-jwt 5 #210

Added

  • Adding tests for state handler; correcting storage method used #228 (joshcanhelp)

Changed