PackageTrack
Sign in Get early access

auth0/auth0-php

PHP SDK for Auth0 Authentication and Management APIs.

9.0.0 23M downloads/mo #912 most downloaded on Packagist auth0/auth0-PHP

What this package is like to depend on

Last release 11 days ago

12 Aug 2026

Release timing varies

gaps range from 2 weeks to 4 months

Some releases are documented

notes for 40 of 129 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

141 releases · first in 2014

12 releases in the last 12 months

see the full history below

Release timeline

141 releases · Jan 2014 to Aug 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 141
  1. 9.0.0 12 Aug 2026
    Release notes

    This is the first stable release of v9. It introduces breaking changes to the Management API, and two behavior changes to the Authentication API. Please consult the v9 Migration Guide and UPGRADE.md for detailed upgrade instructions.

    🚀 What's New

    This release marks a major milestone for the Auth0 PHP SDK. The Management API client has been completely rewritten using the Fern code generation tool, built directly from the Auth0 OpenAPI specification. This delivers complete, always-up-to-date API coverage with full type safety.

    ✨ Highlights

    • 🏗️ Auto-generated Management API - Rebuilt from the Auth0 OpenAPI spec using Fern, ensuring complete endpoint coverage and consistency with the API
    • 🔒 Strongly-typed requests & responses - No more associative arrays or manual JSON decoding. Every request parameter and response field is a typed PHP object with IDE autocompletion
    • 📄 Built-in pagination - Pager<T> implements IteratorAggregate, automatically fetching pages as you iterate with foreach
    • 🔑 Automatic token management - New ManagementClient wrapper handles OAuth 2.0 client credentials grant, token caching (PSR-6), and custom token providers out of the box
    • Built-in retry middleware - Automatic retries for rate-limited (429) responses
    • 🛡️ Exception-driven error handling - Non-2xx responses throw Auth0ApiException with status code and response body, replacing manual status code checks
    • 🔁 Custom Token Exchange - New Authentication::customTokenExchange() and Auth0::loginWithCustomTokenExchange() methods

    🔄 What's Changed

    The Management API has breaking changes:

    Area v8 v9
    Sub-client access $mgmt->users()->getAll() $client->users->list()
    Request params Associative arrays Typed classes (ListUsersRequestParameters)
    Responses ResponseInterface + json_decode() Typed objects ($user->getEmail())
    Pagination HttpResponsePaginator foreach ($pager as $user)
    Error handling Check $response->getStatusCode() catch (Auth0ApiException $e)
    Initialization $auth0->management() via SdkConfiguration new ManagementClient(new ManagementClientOptions(...))
    Minimum PHP ^8.1 ^8.2

    The Authentication API is largely unchanged, with two behavior changes:

    • client_id, response_type, and response_mode can no longer be overridden through the $params argument on Auth0::login(), Auth0::signup(), Auth0::handleInvitation(), Authentication::getLoginLink(), and the Pushed Authorization Request flow. They are always resolved from your SdkConfiguration
    • Auth0::handleBackchannelLogout() now stores cache entries with the configured relative expiry (backchannelLogoutExpires, default 30 days) instead of an absolute timestamp. If you ran a persistent backchannel logout cache on 8.10.0 or later, flush it once after upgrading

    📦 Installation

    composer require auth0/auth0-php

    🔧 Quick Start

    use Auth0\SDK\API\Management\Wrapper\ManagementClient;
    use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
    use Auth0\SDK\API\Management\Users\Requests\ListUsersRequestParameters;
    
    $client = new ManagementClient(new ManagementClientOptions(
        domain: 'tenant.auth0.com',
        clientId: 'CLIENT_ID',
        clientSecret: 'CLIENT_SECRET',
    ));
    
    // List users with automatic pagination
    $pager = $client->users->list(new ListUsersRequestParameters([
        'perPage' => 50,
        'includeTotals' => true,
    ]));
    
    foreach ($pager as $user) {
        echo $user->getEmail();
    }

    📚 Resources

    Open source →
    Release notes

    Full Changelog

    Note: As this is a major release it is recommended to understand the Breaking Changes section before upgrading. The v9 Migration Guide and UPGRADE.md contain details on the version upgrade.

    v9.0.0 is the first stable release of the v9 line. The Management API client is now generated from Auth0's OpenAPI specification via Fern, with strongly-typed requests and responses, built-in pagination, and automatic token management through the ManagementClient wrapper.

    ⚠️ Breaking Changes

    Management API

    • Minimum PHP raised from 8.1 to 8.2
    • Management API client namespace changed and initialization reworked (new Management(token: ...) with sub-clients as public properties)
    • Auth0::management() removed, use the ManagementClient wrapper instead
    • getAll() renamed to list() across every endpoint, and sub-resource operations moved to dedicated sub-clients
    • grants() renamed to userGrants, and usersByEmail() merged into users->listUsersByEmail()
    • Management methods now return typed objects instead of raw PSR-7 responses

    Authentication API

    • client_id, response_type, and response_mode can no longer be overridden through the $params argument on Auth0::login(), Auth0::signup(), Auth0::handleInvitation(), Authentication::getLoginLink(), and the Pushed Authorization Request flow. They are always resolved from your SdkConfiguration. If you previously passed any of these through $params they are now ignored in favor of the configured value
    • Auth0::handleBackchannelLogout() now stores cache entries with the configured relative expiry (backchannelLogoutExpires, default 30 days) instead of an absolute timestamp. If you ran a persistent backchannel logout cache on 8.10.0 or later, flush it once after upgrading to clear the old long-lived entries

    Added

    • Custom Token Exchange support via Authentication::customTokenExchange() and Auth0::loginWithCustomTokenExchange(), exchanging an external or legacy token for Auth0 tokens without a browser redirect
    Open source →
  2. 9.0.0-beta.6 05 Aug 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add Agents, Organization Clients, and Directory Provisioning sync groups, plus Event Stream deliveries fix #848 (fern-api[bot])

    Fixed

    • fix: correct backchannel logout cache expiry to use relative duration #847 (kishore7snehil)
    • fix: prevent caller params from overriding security-critical authorization parameters #845 (kishore7snehil)
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add Agents, Organization Clients, and Directory Provisioning sync groups, plus Event Stream deliveries fix #848 (fern-api[bot])

    Fixed

    • fix: correct backchannel logout cache expiry to use relative duration #847 (kishore7snehil)
    • fix: prevent caller params from overriding security-critical authorization parameters #845 (kishore7snehil)
    Open source →
  3. 9.0.0-beta.5 22 Jul 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add XAA Resource App config, ID-JAG, branding theme identifiers, and session actor metadata
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add XAA Resource App config, ID-JAG, branding theme identifiers, and session actor metadata #843 (fern-api[bot])
    Open source →
  4. 9.0.0-beta.4 15 Jul 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add Organization Roles, Connection lifecycle events, and Token Vault access grants; rename Connection attribute identifier #838
    • feat: add Network ACL curated-list match and Confirmation prompt partial #840

    Fixed

    • fix: regenerate session ID on login and logout to prevent session fixation #837

    Breaking Changes

    • feat!: remove Token Vault v1 federated connections access tokens #841
    • Rename ConnectionAttributeIdentifier to EmailAttributeIdentifier #838
    • Replace the None case on PhoneProviderProtectionBackoffStrategyEnum with Default #838
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add Organization Roles, Connection lifecycle events, and Token Vault access grants, and rename Connection attribute identifier #838 (fern-api[bot])
    • feat: add Network ACL curated-list match and Confirmation prompt partial #840 (fern-api[bot])

    Fixed

    • fix: regenerate session ID on login and logout to prevent session fixation #837 (kishore7snehil)

    Breaking Changes

    • feat!: remove Token Vault v1 federated connections access tokens #841 (fern-api[bot])
    • Rename ConnectionAttributeIdentifier to EmailAttributeIdentifier #838 (fern-api[bot])
    • Replace the None case on PhoneProviderProtectionBackoffStrategyEnum with Default #838 (fern-api[bot])
    Open source →
  5. 9.0.0-beta.3 29 Jun 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add Phone Provider Protection endpoints, Token Vault privileged access, and Cross-App Access connection support

    Fixed

    • fix: correct offset pagination page-skipping; split Client update FedCM/native-social types
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add Phone Provider Protection endpoints, Token Vault privileged access, and Cross-App Access connection support #835 (fern-api[bot])

    Fixed

    • fix: correct offset pagination page-skipping, and split Client update FedCM/native-social types #833 (fern-api[bot])
    Open source →
  6. 9.0.0-beta.2 11 Jun 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add Tenant Security Headers and Connection Session Expiry; remove Branding Phone Display #830
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add Tenant Security Headers and Connection Session Expiry, and remove Branding Phone Display #830 (fern-api[bot])
    Open source →
  7. 9.0.0-beta.1 28 May 2026 pre-release
    Release notes

    Changes

    Added

    • feat: add Rate Limit Policies, Events SSE, Token Vault Orgs, and HRI Client Settings #820
    • feat: add SCIM Groups RBAC, User Effective Permissions/Roles, and Tenant Country Codes #826
    Open source →
    Release notes

    Full Changelog

    Added

    • feat: add Rate Limit Policies, Events SSE, Token Vault Orgs, and HRI Client Settings #820 (fern-api[bot])
    • feat: add SCIM Groups RBAC, User Effective Permissions/Roles, and Tenant Country Codes #826 (fern-api[bot])
    Open source →
  8. 9.0.0-beta.0 17 Apr 2026 pre-release
    Release notes

    ⚠️ This is a beta release. It introduces breaking changes to the Management API. The Authentication API is unchanged. Please consult the v9 Migration Guide for detailed upgrade instructions.

    🚀 What's New

    This release marks a major milestone for the Auth0 PHP SDK: the Management API client has been completely rewritten using the Fern code generation tool, built directly from the Auth0 OpenAPI specification. This delivers complete, always-up-to-date API coverage with full type safety.

    ✨ Highlights

    • 🏗️ Auto-generated Management API - Rebuilt from the Auth0 OpenAPI spec using Fern, ensuring complete endpoint coverage and consistency with the API
    • 🔒 Strongly-typed requests & responses - No more associative arrays or manual JSON decoding. Every request parameter and response field is a typed PHP object with IDE autocompletion
    • 📄 Built-in pagination - Pager<T> implements IteratorAggregate, automatically fetching pages as you iterate with foreach
    • 🔑 Automatic token management - New ManagementClient wrapper handles OAuth 2.0 client credentials grant, token caching (PSR-6), and custom token providers out of the box
    • Built-in retry middleware - Automatic retries for rate-limited (429) responses
    • 🛡️ Exception-driven error handling - Non-2xx responses throw Auth0ApiException with status code and response body, replacing manual status code checks

    🔄 What's Changed

    The Authentication API is completely unchanged. Auth0\SDK\Auth0, session handling, token verification, and all authentication flows work exactly as before.

    The Management API has breaking changes:

    Area v8 v9
    Sub-client access $mgmt->users()->getAll() $client->users->list()
    Request params Associative arrays Typed classes (ListUsersRequestParameters)
    Responses ResponseInterface + json_decode() Typed objects ($user->getEmail())
    Pagination HttpResponsePaginator foreach ($pager as $user)
    Error handling Check $response->getStatusCode() catch (Auth0ApiException $e)
    Initialization $auth0->management() via SdkConfiguration new ManagementClient(new ManagementClientOptions(...))

    📦 Installation

    composer require auth0/auth0-php:9.0.0-beta.0

    Running composer require auth0/auth0-php without a version constraint will install the latest stable v8 release.

    🔧 Quick Start

    use Auth0\SDK\API\Management\Wrapper\ManagementClient;
    use Auth0\SDK\API\Management\Wrapper\ManagementClientOptions;
    use Auth0\SDK\API\Management\Users\Requests\ListUsersRequestParameters;
    
    $client = new ManagementClient(new ManagementClientOptions(
        domain: 'tenant.auth0.com',
        clientId: 'CLIENT_ID',
        clientSecret: 'CLIENT_SECRET',
    ));
    
    // List users with automatic pagination
    $pager = $client->users->list(new ListUsersRequestParameters([
        'perPage' => 50,
        'includeTotals' => true,
    ]));
    
    foreach ($pager as $user) {
        echo $user->getEmail();
    }

    📚 Resources

    ⚠️ Breaking Changes

    • Management API methods return typed objects instead of ResponseInterface
    • Management API methods accept typed request classes instead of arrays
    • Sub-clients accessed as properties (->users) instead of methods (->users())
    • getAll() renamed to list() across all endpoints
    • HttpResponsePaginator replaced by Pager<T>
    • Non-2xx responses throw Auth0ApiException automatically
    • Minimum PHP version remains 8.2 (unchanged from v8.19.0)

    🙏 Feedback

    This is a beta release - we would love your feedback! Please open an issue if you encounter any problems or have suggestions.

    Open source →
    Release notes

    Full Changelog

    Breaking Changes

    • Management API client has been completely rewritten using Fern code generation from the Auth0 OpenAPI specification
    • Management API methods now return strongly-typed response objects instead of PSR-7 ResponseInterface
    • Management API methods now accept typed request parameter classes instead of associative arrays
    • Management sub-clients are accessed as properties (->users) instead of methods (->users())
    • List methods renamed from getAll() to list()
    • Pagination now uses built-in Pager<T> instead of HttpResponsePaginator
    • Non-2xx API responses now throw Auth0ApiException instead of returning error responses

    Added

    • New ManagementClient wrapper with built-in OAuth 2.0 client credentials token management
    • Support for static tokens, automatic client credentials grant, PSR-6 token caching, and custom token providers
    • Strongly-typed request and response objects for all Management API endpoints
    • Built-in Pager<T> pagination with automatic page fetching
    • Built-in retry middleware for rate-limited requests
    • Telemetry headers (Auth0-Client, User-Agent) on Management API requests
    • Complete API coverage auto-generated from the Auth0 OpenAPI specification
    • UPGRADE.md v8 to v9 migration guide

    Unchanged

    • Authentication API (Auth0\SDK\API\Authentication) - no changes
    • Session handling, token management, and the Auth0\SDK\Auth0 entry point class - no changes
    Open source →
  9. 8.19.0 01 Apr 2026
    Release notes

    Fixed

    Changed

    • Dropped support for PHP 8.1 (EOL since Dec 2025). The minimum supported PHP version is now 8.2.
    Open source →
    Release notes

    Full Changelog

    Fixed

    • Security fix: Resolve CVE-2026-34236

    Changed

    • Dropped support for PHP 8.1 (EOL since Dec 2025). The minimum supported PHP version is now 8.2.
    Open source →
  10. 8.18.0 16 Dec 2025
    Release notes

    Full Changelog

    Fixed

    • Security fix: Resolve CVE-2025-68129
    Open source →
  11. 8.17.0 01 Oct 2025
    Release notes

    Full Changelog

    Fixed

    • Security fix: Resolve CVE-2025-58769
    Open source →
  12. 8.16.0 11 Sep 2025
    Release notes

    Full Changelog

    Added

    Fixed

    Open source →
  13. 8.15.0 30 May 2025
    Release notes

    Full Changelog

    Added

    Open source →
  14. 8.14.0 15 May 2025
    Release notes

    Full Changelog

    Fixed

    • Security fix: Resolve CVE-2025-47275
    Open source →
  15. 8.13.0 15 Nov 2024
    Release notes

    Full Changelog

    Added

    Fixed

    Open source →
  16. 8.12.0 07 Nov 2024
    Release notes

    Full Changelog

    Added

    Fixed

    Open source →
  17. 8.11.1 11 Jan 2024
    Release notes

    Full Changelog

    Fixed

    • fix: Resolve erroneous exception throw on tenant domain validation #755 (ramonschriks)
    Open source →
  18. 8.11.0 09 Jan 2024
    Release notes

    Full Changelog

    Added

    • feat: Support validating tokens with tenant domain in the case of custom domains #753 (ramonschriks)
    Open source →
  19. 8.10.0 05 Dec 2023
    Release notes

    Full Changelog

    Added

    • feat(SDK-4731): Implement support for Back-Channel Logout #747 (evansims)

    Changed

    • PHP 8.1 is now the minimum supported runtime #748 (evansims)
    Open source →
  20. 8.9.3 30 Nov 2023
    Release notes

    Full Changelog

    Fixed

    • fix: Remove redundant token verification step #742 (evansims)
    Open source →
  21. 8.9.1 21 Nov 2023
    Release notes

    Full Changelog

    Fixed

    • fix(SDK-4716): Resolve thrown exception when enumerating device cookies that include non-string keys/names #739 (evansims)
    Open source →
  22. 8.9.0 14 Nov 2023
    Release notes

    Full Changelog

    Added

    • feat(SDK-4543): Support Organizations with Client Grants #736 (evansims)
    Open source →
  23. 8.8.0 18 Oct 2023
    Release notes

    Added

    • Support initiate_login_uri property for PATCH requests to the /api/v2/clients/:id Management API endpoint. #732

    Fixed

    • Token generator typo in claim header. #729

    Changed

    • composer.json now identifies mbstring as a required extension. #730
    • PHP 8.3 nightlies have been added to the continuous integration testing matrix. #733
    Open source →
  24. 8.7.1 07 Aug 2023
    Release notes

    Fixed

    • Corrected Management API route for deploy action endpoint by @speercy (#723)
    Open source →
  25. 8.7.0 21 Jul 2023
    Release notes

    Added

    • Organization Name support added for Authentication API and token handling¹ (#719)

    Note ¹ To use this feature, an Auth0 tenant must have support for it enabled. This feature is not yet available to all tenants.

    Open source →
  26. 8.6.0 02 May 2023
    Release notes

    Added

    • PAR (Pushed Authorization Request) support¹ (#714):
      • Auth0\SDK\API\Authentication\PushedAuthorizationRequest is a new class for issuing Pushed Authorization Requests and producing authorization links for them.
      • Auth0\SDK\API\Authentication::pushedAuthorizationRequest() has been added as a shortcut method for returning a configured instantiation of the above class.
      • Auth0\SDK\Auth0::login() has been updated to support issuing Pushed Authorization Requests and returning authorization links for them.
      • Auth0\SDK\Configuration\SdkConfiguration has been updated to accept a pushedAuthorizationRequest boolean to enable this feature.
    • Auth0\SDK\Auth0::isAuthenticated() has been added as a shortcut method. It is an alias for getCredentials() !== null.

    Note ¹ To use this feature, an Auth0 tenant must have support for it enabled. This feature is not yet available to all tenants.

    Open source →
  27. 8.5.0 27 Mar 2023
    Release notes

    This release improves the SDK's automatic discovery process of compatible HTTP clients, factories and messages (PSR-18, 17 and 7, respectively). If you encounter issues with your implementation not being discovered, please open an issue.

    This release also introduces support for a number of additional Management API endpoints.

    Added

    • State Management

      • Added Auth0\SDK\Auth0::refreshState() to force a refresh of the SDK's internal state. This is useful when you have updated the SDK's configuration and want to ensure the SDK is using the latest values.
    • Management API

      • Auth0\APIs\Management\Users
        • DELETE /users/:id/authenticatorsdeleteAllAuthenticators() (#702) (Documentation)
      • Support for Authentication Method endpoints: (#707):
        • GET /api/v2/users/:user/authentication-methodsgetAuthenticationMethods() (Documentation)
        • PUT /api/v2/users/:user/authentication-methodsreplaceAuthenticationMethods() (Documentation)
        • DELETE /api/v2/users/:user/authentication-methodsdeleteAuthenticationMethods(string user) (Documentation)
        • POST /api/v2/users/:user/authentication-methodscreateAuthenticationMethod() (Documentation)
        • GET /api/v2/users/:user/authentication-methods/:methodgetAuthenticationMethod() (Documentation)
        • PATCH /api/v2/users/:user/authentication-methods/:methodupdateAuthenticationMethod() (Documentation)
        • DELETE /api/v2/users/:user/authentication-methods/:methoddeleteAuthenticationMethod() (Documentation)

    Fixed

    • Transient storage would sometimes not be fully cleared after a successful code exchange under certain conditions.
    • Calls to certain methods under Auth0\SDK\API\Authentication with manually assigned client_id or client_secret parameters could have those values overwritten by the SDK's assigned configuration. #705

    Changed

    • Upgraded test suite to PEST 2.0 framework.
    • Updated code styling rules, along with some light refactoring.
    • Updated production dependencies:
      • Replaced php-http/discovery dependency with psr-discovery/all.
      • Replaced php-http/httplug dependency with psr-discovery/all.
    • Updated development dependencies:
      • Removed ergebnis/composer-normalize as it now runs in CI.
      • Removed firebase/php-jwt as it was replaced by an in-library generator.
      • Replaced hyperf/event with symfony/event-dispatcher.
      • Replaced laravel/pint with friendsofphp/php-cs-fixer.
      • Replaced nyholm/psr7 with psr-mock/http-factory-implementation.
      • Replaced php-http/mock-client with psr-mock/http-client-implementation.
      • Updated vimeo/psalm to 5.8.
      • Updated phpstan/phpstan to 1.10.
      • Updated rector/rector to 0.15.

    Thanks to our contributors for this release: knash94

    Open source →
  28. 8.4.0 24 Jan 2023
    Release notes

    Added

    Changed

    • Restore test coverage to 100% #697 (evansims)
    • Exclude unnecessary files from distribution package #696 (ramsey)
    Open source →
  29. 8.3.8 02 Dec 2022
    Release notes

    Fixed

    • fix: Always store provided state in transient medium #674 (evansims)
    Open source →
  30. 8.3.7 08 Nov 2022
    Release notes

    Fixed

    • fix: emailPasswordlessStart() incorrectly passes params as array under some conditions #670 (evansims)
    • fix: Remove redundant Cache getItem() call in Auth0\SDK\Token\Verifier::getKeySet() #669 (pkivits-litebit)
    Open source →
  31. 8.3.6 25 Oct 2022
    Release notes

    Fixed

    • fix: Restore previous behavior of SdkConfiguration::setScope() being nullable #665 (evansims)
    Open source →
  32. 8.3.5 21 Oct 2022
    Release notes

    Fixed

    • [SDK-3722] Fix: Stateless strategies should not invoke stateful session classes #662 (evansims)
    Open source →
  33. 8.3.4 20 Oct 2022
    Release notes

    Fixed

    • Fix SdkConfiguration::setScope() not assigning default values when an empty array is passed #659 (evansims)
    Open source →
  34. 8.3.3 20 Oct 2022
    Release notes

    Fixed

    Open source →
  35. 8.3.2 19 Oct 2022
    Release notes

    Fixed

    • [SDK-3719] Fix PHP 8.0+ SdkConfiguration named arguments usage #654 (evansims)
    Open source →
  36. 8.3.1 26 Sep 2022
    Release notes

    Changed

    • [SDK-3647] Add PHP 8.2.0-dev to test matrix #650 (evansims)

    Fixed

    • [SDK-3646] Reliability and performance improvements to CookieStore #649 (evansims)
    Open source →
  37. 8.3.0 22 Sep 2022
    Release notes

    Added

    • [SDK-3636] Add PSR-14 Event Dispatcher, for ultra customizable session storage purposes #646 (evansims)

    Changed

    • [SDK-3633] Treat passing an empty string to SdkConfiguration as the default undefined value type of NULL #643 (evansims)
    • [SDK-3635] Enable configuration of SessionStore and CookieStore samesite property #645 (evansims)
    • [SDK-3634] Add hardcoded debugging flag to CookieStore to disable encryption of session cookies #644 (evansims)
    • [SDK-3632] Update getRequestParameter() filter to use FILTER_SANITIZE_FULL_SPECIAL_CHARS and allow passing extra filter options #642 (evansims)
    • [SDK-3631] Defer/batch "Set-Cookie" headers at login() for transient cookies, and clear() #641 (evansims)
    Open source →
  38. 8.2.1 07 Jun 2022
    Release notes

    Fixed

    • Fixed an issue in Auth0\SDK\Configuration\SdkConfiguration where customDomain was not properly formatted in some configurations, leading to inconsistencies in certain SDK functions, such as Token validation. customDomain is now formatted identically to domain. #633 (evansims)

    Closed Issues

    Open source →
  39. 8.2.0 26 Apr 2022
    Release notes

    Many thanks to our community contributors for this release: elbebass, fullstackfool, jeromefitzpatrick, marko-ilic and sepiariver.

    Added

    • Add bearer token extraction helper, Auth0\SDK\Auth0::getBearerToken() #620 (evansims)
    • Add configuration strategy constants, e.g. Auth0\SDK\Configuration\SdkConfiguration::STRATEGY_API #619 (evansims)

    Changed

    • Throw Auth0\SDK\Exception\InvalidTokenException on JsonException #614 (marko-ilic)
    • Throw Auth0\SDK\Exception\NetworkException when Management API credential exchange fails #608 (sepiariver)

    Documentation Contributions

    Other Improvements

    • Relax pestphp/pest-plugin-parallel dev dependency from ^0.2 to ^0.2 || ^1.0 #617
    • Bump firebase/php-jwt dev dependency to ^6.0 #613 (evansims)
    • Add Semgrep to continous integration test suite #616 (evansims)
    Open source →
  40. 8.1.0 17 Feb 2022
    Release notes

    Added

    Open source →
  41. 8.0.6 25 Jan 2022
    Release notes

    Fixed

    • Auth0->renew(): now correctly updates all appropriate session details after a successful token refresh #593 (evansims)
    Open source →
  42. 8.0.5 05 Jan 2022
    Release notes

    Fixed

    • Auth0->exchange(): optimize setcookie() calls #591 (Nebual)
    Open source →
  43. 8.0.4 13 Dec 2021
    Release notes

    Fixed

    • Require domain configuration for management strategy #589 (evansims)

    Documentation

    • Update UPGRADE.md with additional notes about Auth0::login() changes from v7. #585 (BGehrels)
    • Update UPGRADE.md with additional notes about Auth0::exchange() changes from v7. #584 (BGehrels)

    Tests

    Open source →
  44. 8.0.3 02 Nov 2021
    Release notes

    Changes

    Open source →
  45. 8.0.2 19 Oct 2021
    Release notes

    Fixed

    • Resolve SessionStore::purge() not iterating over session storage when a falsey value is stored #577 (evansims)
    Open source →
  46. 8.0.1 27 Sep 2021
    Release notes

    Fixed

    • Simplify decoding of Access Tokens via Auth0::decode() #534 (shadowhand)
    Open source →
  47. 8.0.0 20 Sep 2021
    Release notes

    BEFORE YOU UPGRADE

    • This is a major release that includes breaking changes. Please see UPGRADE.md before upgrading. This release will require changes to your application.
    • The SDK no longer specifically relies on Guzzle for network requests. Options for supplying your libraries of choice have been added through PSR-18 and PSR-17 configuration options.
    • PHP 7.4 is now the minimum supported PHP version, but we encourage using PHP 8.0. PHP 7.4 will be the last supported 7.x release. This library follows the official support schedule for PHP.

    8.0 Highlights

    • Updated SDK API for more intuitive use and improved usability. Now follows fluent interface principles.
    • Updated SDK API designed with PHP 8.0's named arguments as the encouraged interface method.
    • New configuration object, SdkConfiguration, allows for dynamic changes within your application.
    • Updated PHP language support, including typed properties and return types, are now used throughout the SDK.
    • Added support for the following PHP-FIG standards interfaces:
      • PSR-6 caches are now used for caching JWKs and Management API tokens.
      • PSR-7 HTTP messages are now returned by methods that initiate network requests.
      • PSR-14 events are now raised, allowing for deeper integration into the SDK's behavior.
      • PSR-17 HTTP factories are now used during network requests for generating PSR-7 messages.
      • PSR-18 HTTP clients are now supported, allowing you to choose your network client.
    • Improved Token handling system.
    • Encrypted session cookies, with cookies being the default session handler. PHP sessions may be phased out in a future release.
    • New Management API auto-pagination helper for iterating through API results.
    • PKCE is now enabled by default.

    For a complete overview of API changes, please see UPGRADE.md.

    For guidance on using the new configuration interface or SDK API, please see README.md.


    Changelog entries for releases prior to 8.0 have been relocated to CHANGELOG.ARCHIVE.md.

    Open source →
  48. 8.0.0-BETA3 03 Sep 2021 pre-release

    Nothing published for this version

  49. 8.0.0-BETA2 07 Aug 2021 pre-release

    Nothing published for this version

  50. 8.0.0-BETA1 01 Jul 2021 pre-release

    Nothing published for this version

  51. 7.9.2 04 Aug 2021

    Nothing published for this version

  52. 7.9.1 06 Jul 2021

    Nothing published for this version

  53. 7.9.0 04 May 2021

    Nothing published for this version

  54. 7.8.0 01 Apr 2021

    Nothing published for this version

  55. 7.7.0 19 Mar 2021

    Nothing published for this version

  56. 7.6.2 01 Feb 2021

    Nothing published for this version

  57. 7.6.1 04 Jan 2021

    Nothing published for this version

  58. 7.6.0 04 Jan 2021

    Nothing published for this version

  59. 7.5.0 16 Nov 2020

    Nothing published for this version

  60. 7.4.0 28 Sep 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive