This commit is contained in:
2025-08-26 19:15:37 -04:00
parent 7ca61eb712
commit 86900b0bd4
16 changed files with 2099 additions and 8 deletions

22
docker-compose.sso.yml Normal file
View File

@ -0,0 +1,22 @@
version: '3.8'
# Override file for enabling SSO testing
# Usage: podman-compose -f docker-compose.yml -f docker-compose.sso.yml up -d
services:
api-service:
environment:
# Enable OAuth2 for Keycloak testing
OAUTH2_ENABLED: true
# Enable SAML for SimpleSAMLphp testing
SAML_ENABLED: true
# Switch to SSO auth provider instead of header
AUTH_PROVIDER: sso
# Set the required SSO configuration
SSO_PROVIDER_URL: http://keycloak:8080/realms/kms
SSO_CLIENT_ID: kms-api
SSO_CLIENT_SECRET: kms-client-secret
SSO_REDIRECT_URL: http://localhost:8081/api/sso/callback
depends_on:
- keycloak
- saml-idp