28 lines
650 B
YAML

# yaml-language-server: $schema=https://agentgateway.dev/schema/config
frontendPolicies:
accessLog:
add:
user.id: jwt.sub
user.email: jwt.email
binds:
- port: 3000
listeners:
- name: default
protocol: HTTP
routes:
- name: app
matches:
- path:
pathPrefix: /
backends:
- host: localhost:18080
policies:
oidc:
issuer: http://localhost:7080/realms/agentgateway
clientId: agentgateway-browser
clientSecret: agentgateway-secret
redirectURI: http://localhost:3000/oauth/callback
scopes:
- profile
- email