We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe your issue here.
Tell us how to reproduce this issue. $ composer install
- Upgrading lcobucci/jwt (4.2.1 => 4.3.0): Extracting archive - Installing tymon/jwt-auth (2.0.0): Extracting archive Generating autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discover Tymon\JWTAuth\Exceptions\JWTException Secret is not set. at vendor/tymon/jwt-auth/src/Providers/JWT/Lcobucci.php:244 240▕ return $this->getKey($privateKey, $this->getPassphrase() ?? ''); 241▕ } 242▕ 243▕ if (! $secret = $this->getSecret()) { ➜ 244▕ throw new JWTException('Secret is not set.'); 245▕ } 246▕ 247▕ return $this->getKey($secret); 248▕ } +35 vendor frames 36 app/Exceptions/Handler.php:72 Illuminate\Auth\AuthManager::__call() +3 vendor frames 40 [internal]:0 Illuminate\Foundation\Bootstrap\HandleExceptions::Illuminate\Foundation\Bootstrap\{closure}() Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
Tell us what should happen
Tell us what happens instead
The text was updated successfully, but these errors were encountered:
Same issue
Sorry, something went wrong.
This issue was php artisan package:discover requires existence of .env , That fix the issue for me.
php artisan package:discover
.env
But for me it doesn’t make sense specially during pipeline deployment!
This probably won't get fixed. You can solve this by running composer as follow (on Linux) JWT_SECRET=DummySecret composer install
JWT_SECRET=DummySecret composer install
No branches or pull requests
Subject of the issue
Describe your issue here.
Your environment
Steps to reproduce
Tell us how to reproduce this issue.
$ composer install
Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
The text was updated successfully, but these errors were encountered: