Skip to content

Commit

Permalink
chore: Generate jwt keys at composer install, update and create-project
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Sep 12, 2024
1 parent 45658ff commit fbd55d2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,18 @@
"requirements-checker": "script"
},
"post-install-cmd": [
"@auto-scripts"
"@auto-scripts",
"bin/console lexik:jwt:generate-keypair --skip-if-exists"
],
"post-create-project-cmd": [
"bin/console secrets:generate-keys",
"bin/console secrets:set JWT_PASSPHRASE --random",
"bin/console secrets:set APP_SECRET --random",
"bin/console lexik:jwt:generate-keypair"
"bin/console lexik:jwt:generate-keypair --skip-if-exists"
],
"post-update-cmd": [
"@auto-scripts"
"@auto-scripts",
"bin/console lexik:jwt:generate-keypair --skip-if-exists"
]
},
"conflict": {
Expand Down

0 comments on commit fbd55d2

Please sign in to comment.