🔒 EAC VPN Proxy

production — 8 backends configured

Environment production
IP Whitelisting ✗ DISABLED
CORS Origin *
Request Logging ✓ Enabled

📱 Development Setup:

To use with iOS app, configure your Mac IP in DevEnvironment.swift (e.g., 192.168.x.x:8000)

📖 Docs: See README.md for full setup instructions

📡 Available Backends

KeyNameDescriptionProxy Route
portalWordPress PortalEAC WordPress Portal (Azure Front Door)/proxy/portal/
apim-xaiAzure APIM XAIEAC APIM XAI Services (SOAP/XML)/proxy/apim-xai/
apim-accountAzure APIM AccountEAC APIM Account Services/proxy/apim-account/
apim-billingAzure APIM BillingEAC APIM Billing Services/proxy/apim-billing/
keycloakKeycloak SSOEAC Keycloak Authentication Server/proxy/keycloak/
jccJCC Payment GatewayJCC Cyprus Payment Gateway/proxy/jcc/
eac-legacyEAC Legacy PortalEAC Legacy WordPress Portal/proxy/eac-legacy/
apim-prodAzure APIM ProductionEAC APIM Production Services/proxy/apim-prod/

🔌 API Endpoints

GET /api/health — Server health check
GET /api/backends — List available backends
GET /api/logs — View recent logs
ANY /proxy/{backend}/{path} — Proxy any request to backend
POST /jcc/payment/process — Initiate JCC payment
POST /jcc/payment/refund — Process refund
GET /jcc/payment/status — Transaction status
GET /jcc/payment/history — Transaction history
GET /jcc/payment/test — Test JCC connection
POST /jcc/payment/notify — Send EAC notification

📚 Example Requests

Portal Login:

POST /proxy/portal/wp-json/jwt-auth/v1/token

Keycloak Token:

POST /proxy/keycloak/realms/eac-prod/protocol/openid-connect/token

APIM XAI Services:

POST /proxy/apim-xai/customerservice/getCustomerInfo