Skip to content

Commit a81a33a

Browse files
Merge pull request #386 from api-platform/chore/security-users-provider
2 parents 8341e4b + 9dc1360 commit a81a33a

File tree

73 files changed

+1385
-342
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+1385
-342
lines changed

api/.env

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ TRUSTED_HOSTS=^(localhost|php)$
2020
OIDC_SERVER_URL=https://localhost/oidc/realms/demo
2121
OIDC_SERVER_URL_INTERNAL=http://keycloak:8080/oidc/realms/demo
2222
OIDC_SWAGGER_CLIENT_ID=api-platform-swagger
23+
OIDC_API_CLIENT_ID=api-platform-api
24+
OIDC_API_CLIENT_SECRET=sEocbxCy7iFS8NzYzWyQ71QgxTDZ9fnU
25+
OIDC_AUD=api-platform
2326

2427
###> symfony/framework-bundle ###
2528
APP_ENV=dev

api/.env.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ APP_SECRET='$ecretf0rt3st'
44
SYMFONY_DEPRECATIONS_HELPER=999999
55
PANTHER_APP_ENV=panther
66
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
7+
OIDC_JWK='{"kty": "EC","d": "cT3_vKHaGOAhhmzR0Jbi1ko40dNtpjtaiWzm_7VNwLA","use": "sig","crv": "P-256","x": "n6PnJPqNK5nP-ymwwsOIqZvjiCKFNzRyqWA8KNyBsDo","y": "bQSmMlDXOmtgyS1rhsKUmqlxq-8Kw0Iw9t50cSloTMM","alg": "ES256"}'
78

89
# API Platform distribution
910
TRUSTED_HOSTS=^example\.com|localhost$

api/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ RUN apt-get update; \
3434
RUN set -eux; \
3535
install-php-extensions \
3636
apcu \
37+
bcmath \
3738
intl \
3839
opcache \
3940
zip \

api/composer.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"symfony/uid": "7.0.*",
3535
"symfony/validator": "7.0.*",
3636
"symfony/yaml": "7.0.*",
37-
"web-token/jwt-library": "^3.3",
37+
"web-token/jwt-bundle": "^3.3",
3838
"webonyx/graphql-php": "^15.8",
3939
"zenstruck/foundry": "^1.36"
4040
},
@@ -109,7 +109,11 @@
109109
"symfony": {
110110
"allow-contrib": false,
111111
"require": "7.0.*",
112-
"docker": false
112+
"docker": false,
113+
"endpoint": [
114+
"https://api.github.com/repos/Spomky-Labs/recipes/contents/index.json?ref=main",
115+
"flex://defaults"
116+
]
113117
}
114118
}
115119
}

0 commit comments

Comments
 (0)