7.3.0 (2022-11-07)
Added
Fixed
- fix:
env()
incorrectly assignscookieExpires
to astring
value #332 (evansims) - fix: Auth0\Laravel\Cache\LaravelCachePool::createItem returning a cache miss #329 (pkivits-litebit)
7.2.2 (2022-10-19)
Fixed
- [SDK-3720] Restore
php artisan vendor:publish
command #321 (evansims) - [SDK-3721] Bump minimum
auth0/auth0-php
version to^8.3.4
#322 (evansims)
7.2.1 (2022-10-13)
Fixed
Auth0\Laravel\Auth0
no longer requires a session configuration for stateless strategies, restoring previous behavior. #317 (evansims)- The SDK now requires
^3.0
of thepsr/cache
dependency, to accomodate breaking changes made in the upstream interface (typed parameters and return types) for PHP 8.0+. #316 (evansims)
7.2.0 (2022-10-10)
Thank you to tonyfox-disguise, jeovajr and nie7321 for their contributions to this release.
Changed
Auth0\Laravel\Store\LaravelSession
has been added as the defaultsessionStorage
andtransientStorage
interfaces for the underlying Auth0-PHP SDK. The SDK now leverages the native Laravel Session APIs by default. #307 (evansims)¹Auth0\Laravel\Cache\LaravelCachePool
andAuth0\Laravel\Cache\LaravelCacheItem
have been added as the defaulttokenCache
andmanagementTokenCache
interfaces for the underlying Auth0-PHP SDK. The SDK now leverages the native Laravel Cache APIs by default. #307 (evansims)Auth0\Laravel\Auth\Guard
now supports theviaRemember
method. #306 (tonyfox-disguise)Auth0\Laravel\Http\Middleware\Stateless\Authorize
now returns a 401 status instead of 403 for unauthenticated users. #304 (jeovajr)- PHP 8.0 is now the minimum supported runtime version. Please review the README for more information on support windows.
¹ This change may require your application's users to re-authenticate. You can avoid this by changing the sessionStorage
and transientStorage
options in your SDK configuration to their previous default instances of Auth0\SDK\Store\CookieStore
, but it is recommended you migrate to the new LaravelSession
default.
7.1.0 (2022-08-08)
Changed
- [SDK-3576] Return interfaces instead of concrete classes #296 (evansims)
- change: Use class names for app() calls #291 (evansims)
Fixed
7.0.1 (2022-06-01)
Fixed
- Fixed an issue in
Auth0\Laravel\Http\Controller\Stateful\Callback
where$errorDescription
's value was assigned an incorrect value when an error was encountered. #266 (evansims)
Closed Issues
7.0.0 (2022-03-21)
Auth0 Laravel SDK v7 includes many significant changes over previous versions:
- Support for Laravel 9.
- Support for Auth0-PHP SDK 8.
- New authentication route controllers for plug-and-play login support.
- Improved authentication middleware for regular web applications.
- New authorization middleware for token-based backend API applications.
As expected with a major release, Auth0 Laravel SDK v7 includes breaking changes. Please review the upgrade guide thoroughly to understand the changes required to migrate your application to v7.
Breaking Changes Summary
- Namespace has been updated from
Auth0\Login
toAuth0\Laravel
- Auth0-PHP SDK dependency updated to V8
- New configuration format
- SDK now self-registers its services and middleware
- New UserProvider API
7.0.0-BETA2 (2022-03-09)
Please review the BETA1 changelog notes below before upgrading your application from 6.x, as 7.0 is a new major containing breaking changes. As with all beta releases, this should not be considered stable or suitable for production use, but your experimentation with and feedback around it is greatly appreciated.
Changes
- Update Middleware interface checks for custom user model types #263 (sheggi)
- Updated UserProvider API #264 (evansims)
- Add Rector to test suite #265 (evansims)
7.0.0-BETA1 (2022-02-08)
Auth0 Laravel SDK v7 includes many significant changes over previous versions:
- Support for Laravel 9.
- Support for Auth0-PHP SDK 8.
- New authentication route controllers for plug-and-play login support.
- Improved authentication middleware for regular web applications.
- New authorization middleware for token-based backend API applications.
As expected with a major release, Auth0 Laravel SDK v7 includes breaking changes. Please review the upgrade guide thoroughly to understand the changes required to migrate your application to v7.
Breaking Changes Summary
- Namespace has been updated from
Auth0\Login
toAuth0\Laravel
- Auth0-PHP SDK dependency updated to V8
- New configuration format
- SDK now self-registers its services and middleware
6.5.0 (2021-10-15)
Added
6.4.1 (2021-08-02)
Fixed
- Use the fully qualified facade class names #215 (Rezouce)
- Update auth0-PHP dependency #222 (evansims)
- Pass api_identifier config as audience to Auth0\SDK\Auth0 #214 (iSerter)
6.4.0 (2021-03-25)
Changed
6.3.0 (2020-02-18)
Changed
Fixed
- Avoid throwing an error when calling getUserByUserInfo() during login callback event when the supplied profile is empty/null #207 (evansims)
6.2.0 (2020-01-15)
Added
Fixed
6.1.0 (2020-09-17)
Added
- Support Laravel 8 #190 (giannidhooge)
Fixed
- Fix composer.json whitespace issue #192 (jimmyjames)
6.0.1 (2020-04-28)
Fixed
- Fix access token decoding and validation #183 (jimmyjames)
6.0.0 (2020-04-09)
This is a major release and includes breaking changes! This release also includes a major version change for the PHP SDK that it relies on. Please see the migration guide for the PHP SDK for more information.
Closed issues
Added
Changed
- Use array for Auth0JWTUser and add repo return types #176 (joshcanhelp)
- Update PHP SDK to v7.0.0 #162 (joshcanhelp)
- Bind SessionState handler interface in container #147 (nstapelbroek)
Fixed
- Fix Laravel session management #174 (joshcanhelp)
5.4.0 (2020-03-27)
Closed issues
- Laravel 7.0 supported release. #171
Fixed
Added
- Laravel 7 support #167 (giannidhooge)
5.3.1 (2019-11-14)
Closed issues
- Setting of state_handler in Auth0Service causes "Invalid state" error #154
Fixed
- Allow store and state_handler to be passed in from config #156 (joshcanhelp)
- Add 'persist_refresh_token' key to laravel-auth0 configuration file. #152 (tpenaranda)
- Replace
setEnvironment
withsetEnvProperty
#145 (nstapelbroek)
5.3.0 (2019-09-26)
Closed issues
- Feature request: Add Laravel 6 support #138
- SessionStateHandler should use LaravelSessionStore not SessionStore #125
Added
Fixed
- Use LaravelSessionStore in the SessionStateHandler. #135 (nstapelbroek)
5.2.0 (2019-06-27)
Closed issues
- Authenticate as a Laravel API user using the Auth0 token #129
- Redirect to previous page after login #122
- Auth0User uses private variables so they cannot be accessed or overridden in child class #120
- API routes broken in auth0-laravel-php-web-app (and in general)? #117
- API returning "token algorithm not supported" #116
- Changing name of user identifier #115
- Possible to use User object functions? #114
- [email protected] breaks Laravel-Auth0 #108
- Extend Illuminate\Foundation\Auth\User #104
- [Bug] Inconsistencies with the singleton Auth0Service #103
- How do you combine Auth0 Lock with Laravel Auth0? #102
- OnLogin callback question #97
Added
- Add composer.lock file #123 (lbalmaceda)
Changed
- Change private properties to protected #132 (joshcanhelp)
- Return null instead of false in Auth0UserProvider. #128 (afreakk)
- Change the visibility of the getter method from private to public #121 (irieznykov)
- Updated required PHP version to 5.4 in composer #118 (dmyers)
- Changed arrays to use short array syntax #110 (dmyers)
Fixed
- Fix cachehandler resolving issues #131 (deviouspk)
- Added the Auth0Service as a singleton through the classname #107 (JCombee)
- Fixed typo #106 (IvanArjona)
5.1.0 (2018-03-20)
Closed issues
- pls change config arg name #95
Added
- AutoDiscovery #91 (m1guelpf)
- Added guzzle options to config to allow for connection options #88 (mjmgooch)
Changed
- Change default settings file #96 (joshcanhelp)
- Utilise Auth0->Login to ensure state validation #90 (cocojoe)
Fixed
- Make code comments gender neutral #98 (devjack)
- Fix README and CHANGELOG #99 (joshcanhelp)
5.0.2 (2017-08-30)
Merged pull requests:
5.0.1 (2017-02-23)
Fixed supported_algs
configuration name
5.0.0 (2017-02-22)
Merged pull requests:
4.0.8 (2017-01-27)
Closed issues
Merged pull requests:
4.0.7 (2017-01-02)
Merged pull requests:
4.0.6 (2016-11-29)
Merged pull requests:
- Code style & docblocks #56 (seanmangar)
- Adding accessor to retrieve JWT from Auth0Service #58 (ryantology)
4.0.5 (2016-11-29)
Merged pull requests:
4.0.4 (2016-11-25)
Merged pull requests:
4.0.2 (2016-10-03)
Merged pull requests:
4.0.1 (2016-09-19)
Merged pull requests:
4.0.0 (2016-09-15)
Better support for Laravel 5.3: Support for Laravel Passport for token verification Support of auth0 PHP sdk v4 with JWKs cache
Merged pull requests:
3.2.1 (2016-09-12)
Merged pull requests:
3.2.0 (2016-07-11)
Merged pull requests:
3.1.0 (2016-05-02)
Merged pull requests:
3.0.3 (2016-01-28)
Closed issues:
- Tag 2.2.2 breaks on Laravel 5.1 #30
Merged pull requests:
- Conform to 5.2's Authenticatable contract #31 (ryannjohnson)
3.0.2 (2016-01-25)
Merged pull requests:
- Added optional persistence configuration values #29 (carnevalle)
2.2.1 (2016-01-22)
Closed issues:
- Create a logout route #25
Merged pull requests:
- Auth0 SDK checks for null values instead of false #27 (thijsvdanker)
3.0.1 (2016-01-18)
Merged pull requests:
3.0.0 (2016-01-06)
Closed issues:
- auth0/auth0-php ~1.0 requirement doesn't support latest GuzzleHttp #21
Merged pull requests:
2.2.0 (2015-11-30)
Merged pull requests:
2.1.4 (2015-10-27)
Merged pull requests:
- Middleware contract has been deprecated in 5.1 #19 (thijsvdanker)
- Fixed some typo's in the comments. #18 (thijsvdanker)
- Removed note about unstable dependency from README #17 (thijsvdanker)
- Update composer instructions #16 (iWader)
- Use a tagged release of adoy/oauth2 #15 (thijsvdanker)
2.1.3 (2015-07-17)
Merged pull requests:
2.1.2 (2015-05-15)
Merged pull requests:
2.1.1 (2015-05-12)
Closed issues:
Merged pull requests:
2.1.0 (2015-05-07)
Merged pull requests:
2.0.0 (2015-04-20)
Merged pull requests:
1.0.8 (2015-04-14)
1.0.7 (2015-04-13)
Merged pull requests:
1.0.6 (2014-08-01)
1.0.5 (2014-08-01)
Closed issues:
- Problem with normal laravel user table #4
Merged pull requests: