Skip to content

Commit

Permalink
feat: add oidc
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Aug 23, 2023
1 parent 6ddd494 commit bd612d6
Show file tree
Hide file tree
Showing 24 changed files with 1,653 additions and 720 deletions.
2 changes: 2 additions & 0 deletions api/.env
Expand Up @@ -17,6 +17,8 @@
# API Platform distribution
TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
TRUSTED_HOSTS=^(localhost|caddy)$
OIDC_SERVER_URL=https://localhost/oidc/realms/api-platform
OIDC_SWAGGER_CLIENT_ID=api-platform-swagger

###> symfony/framework-bundle ###
APP_ENV=dev
Expand Down
4 changes: 3 additions & 1 deletion api/composer.json
Expand Up @@ -26,7 +26,9 @@
"symfony/serializer": "6.3.*",
"symfony/twig-bundle": "6.3.*",
"symfony/validator": "6.3.*",
"symfony/yaml": "6.3.*"
"symfony/yaml": "6.3.*",
"web-token/jwt-checker": "^3.2",
"web-token/jwt-signature-algorithm-ecdsa": "^3.2"
},
"require-dev": {
"api-platform/schema-generator": "^5.0",
Expand Down

0 comments on commit bd612d6

Please sign in to comment.