-
Notifications
You must be signed in to change notification settings - Fork 117
Closed
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request
Milestone
Description
Subject of the issue
Right now library is not Octane compatible, (e.g. places like [this](src/Providers/LaravelServiceProvider.php#48 are not allowed use $this->app, config(...) function call inside providers should be replaced by $this->app->make('config') or similiar). It also caches authenticated user in JWTGuard, which causes user to be not updated between requests
Your environment
| Q | A |
|---|---|
| Bug? | yes |
| Framework | Laravel |
| Framework version | 8.73.0 |
| Package version | 1.2.0 |
| PHP version | 8.0.11 |
Steps to reproduce
Add Octane, add JWT Auth
Expected behaviour
First authenticated user is saved for all subsequent requests
Actual behaviour
Library should work with Octane without extra hacks
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingenhancementNew feature or requestNew feature or request