auth0-PHP

PHP SDK for Auth0 Authentication and Management APIs.

MIT License

Downloads
13.3M
Stars
381
Committers
94

Bot releases are visible (Hide)

auth0-PHP - 7.6.1

Published by evansims almost 4 years ago

Full Changelog

This is a hotfix release to address an issue with a Composer dependency reference and apply a testing configuration change. There are no additional new features or changes.

auth0-PHP - 7.6.0

Published by evansims almost 4 years ago

Full Changelog

SDK 7.6 introduces support for the newly released PHP 8.0 and drops support for PHP 7.1 and 7.2 (which have reached their end of support cycles.) Please ensure you are running supported versions of PHP in your environments.

Added

auth0-PHP - 7.5.0

Published by evansims almost 4 years ago

Full Changelog

Closed issues

  • createPasswordChangeTicket doesn't support 'ttl_sec' parameter #457
  • Make the CACHE_TTL used in the JWKFetcher configurable. #450
  • Allow programmatic clearing of cache values managed by Auth0Service #441

Added

  • Add support for Authorization Code Flow with PKCE #449 (ls-youssef-jlidat)
  • Allow specifying TTL when creating password change tickets #463 (evansims)
  • Expand control over TTL/Caching in JWKFetcher #462 (evansims)
  • Add support for Management V2 users export job endpoint #461 (evansims)
auth0-PHP - 7.4.0

Published by jimmyjames about 4 years ago

Full Changelog

Added

  • Add support for new identity field for email verifications #455 (jimmyjames)
auth0-PHP - 7.3.0

Published by jimmyjames about 4 years ago

Full Changelog

Closed issues

  • TokenVerifier::verify throws a \RuntimeException instead of an InvalidTokenException #438
  • Support Guzzle 7 #421

Added

Fixed

  • Throw InvalidTokenException instead of RuntimeException when parsing malformed token #439 (B-Galati)
auth0-PHP - 7.2.0

Published by joshcanhelp over 4 years ago

Full Changelog

Closed issues

  • Renew Tokens throws nonce error #432
  • email_passwordless_start not setting client_secret #431

Added

Fixed

auth0-PHP - 7.1.0

Published by joshcanhelp over 4 years ago

Full Changelog

Closed issues

  • Authorized Party (azp) claim mismatch in the ID token #422
  • JWTVerifier alternatives #419
  • Consider to customize the jwks path #417

Added

auth0-PHP - 7.0.0

Published by joshcanhelp almost 5 years ago

Full Changelog

BEFORE YOU UPGRADE

This is a major release with several breaking changes. Please see the v5 to v7 migration guide here before you upgrade.

Added

Changed

Removed

auth0-PHP - v5.7.0

Published by joshcanhelp almost 5 years ago

Full Changelog

Added

Deprecated

  • Add deprecation notices for removals in v7 major release #407 (joshcanhelp)

Fixed

  • Fix mkdir race condition in FileSystemCacheHandler #375 (B-Galati)
auth0-PHP - v5.6.0

Published by joshcanhelp about 5 years ago

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

auth0-PHP - v5.5.1

Published by joshcanhelp over 5 years ago

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)
auth0-PHP - v5.5.0

Published by joshcanhelp over 5 years ago

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

auth0-PHP - v5.4.0

Published by joshcanhelp over 5 years ago

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

auth0-PHP - v5.3.2

Published by joshcanhelp almost 6 years ago

Full Changelog

Closed issues

  • Something is wrong with the latest release 5.3.1 #303

Fixed

auth0-PHP - v5.3.1

Published by joshcanhelp almost 6 years ago

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

auth0-PHP - v5.3.0

Published by joshcanhelp about 6 years ago

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

auth0-PHP - 5.2.0

Published by joshcanhelp over 6 years ago

Full Changelog

Closed issues

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

Added

Changed

Fixed

auth0-PHP - 5.1.1

Published by joshcanhelp over 6 years ago

5.1.1 (2018-04-03)

Full Changelog

Closed issues

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

Added

Fixed

auth0-PHP - 5.1.0

Published by joshcanhelp over 6 years ago

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

auth0-PHP - 5.0.6

Published by cocojoe almost 7 years ago

Added

  • Add support for the new users by email API #213 (erichard)

Fixed