diff --git a/.env b/.env index 5a8f1a6c5c46720e304c44cc85a7644272e15d48..8364fa61310d6f8004b41b4508db82e2fa50b707 100644 --- a/.env +++ b/.env @@ -30,4 +30,9 @@ KEYCLOAK_CLIENT_SECRET= # Deployment related APP_BUILDINFO=unknown # a git hash or something identifying the build -APP_BUILDINFO_URL='#' \ No newline at end of file +APP_BUILDINFO_URL='#' + +# Secret token for the starter bundle example +# This is just a defaule. +# Create a ".env.local" file which is excluded from git to set it +STARTER_SECRET_TOKEN= \ No newline at end of file diff --git a/composer.lock b/composer.lock index 342fe08cf1a79d844222f4a39e4c0c867b7f2e3c..183df0561119cd9f0a1c8ca8ca47e690be8854a1 100644 --- a/composer.lock +++ b/composer.lock @@ -226,7 +226,7 @@ "source": { "type": "git", "url": "https://gitlab.tugraz.at/dbp/middleware/dbp-api/api-core-bundle.git", - "reference": "6f3bf973ad3374ab018a826164f00358e057e404" + "reference": "7a6d413cc8e43176945aa6d2a564441990b80cc4" }, "require": { "api-platform/core": "^2.6.3", @@ -238,7 +238,6 @@ "nelmio/cors-bundle": "^2.1.0", "php": "^7.3", "phpdocumentor/reflection-docblock": "^3.0 || ^4.0 || ^5.0", - "psr/link": "1.0", "symfony/asset": "*", "symfony/config": "^4.4", "symfony/expression-language": "*", @@ -303,7 +302,7 @@ "license": [ "AGPL-3.0-or-later" ], - "time": "2021-04-15T09:51:39+00:00" + "time": "2021-04-22T09:45:52+00:00" }, { "name": "dbp/api-starter-bundle", @@ -311,7 +310,7 @@ "source": { "type": "git", "url": "https://gitlab.tugraz.at/dbp/middleware/dbp-api/api-starter-bundle.git", - "reference": "1e233d32f8ead03e21b82f909b21de9d6da58dfb" + "reference": "aa6539867455bf8cb6f4b16b7ea1bd95f6d5aae4" }, "require": { "api-platform/core": "^2.5", @@ -371,7 +370,7 @@ "license": [ "AGPL-3.0-or-later" ], - "time": "2021-04-15T10:26:19+00:00" + "time": "2021-04-22T13:21:44+00:00" }, { "name": "doctrine/annotations", diff --git a/config/packages/dbp_starter.yaml b/config/packages/dbp_starter.yaml new file mode 100644 index 0000000000000000000000000000000000000000..21ed83480bff73e33ccb19ef1d30d6cec13af857 --- /dev/null +++ b/config/packages/dbp_starter.yaml @@ -0,0 +1,2 @@ +dbp_starter: + secret_token: '%env(STARTER_SECRET_TOKEN)%' \ No newline at end of file