Skip to content

Commit 3b5f29f

Browse files
committed
Issue #397: Autogenerate OAuth2 keys when cloning the project
Signed-off-by: alexmerlin <[email protected]>
1 parent ce2ff27 commit 3b5f29f

File tree

5 files changed

+6
-39
lines changed

5 files changed

+6
-39
lines changed

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@
120120
"development-enable": "laminas-development-mode enable",
121121
"development-status": "laminas-development-mode status",
122122
"post-update-cmd": [
123-
"php bin/composer-post-install-script.php"
123+
"php ./vendor/bin/generate-oauth2-keys",
124+
"php ./bin/composer-post-install-script.php"
124125
],
125126
"serve": "php -S 0.0.0.0:8080 -t public/",
126127
"static-analysis": "phpstan analyse --memory-limit 1G",

data/oauth/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ignore everything in this directory
2+
*
3+
# Except this file
4+
!.gitignore

data/oauth/encryption.key

Lines changed: 0 additions & 1 deletion
This file was deleted.

data/oauth/private.key

Lines changed: 0 additions & 28 deletions
This file was deleted.

data/oauth/public.key

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)