Added
Auth0\Laravel\Http\Middleware\Guard, new middleware that forces Laravel to route requests through a group using a specific Guard. (#362)
Improved
Auth0\Laravel\Http\Middleware\Stateful\Authenticatenow remembers the intended route (usingredirect()->setIntendedUrl()) before kicking off authentication flow redirect. Users will be returned to the memorized intended route after completing their authentication flow. (#364)
Fixed
- legacyGuardUserMethod behaviour should use
$session, not$token(#353)