version: 1
log:
level: debug
audit_events: none
app:
port: 8000
grpc:
port: 8001
tls_cert_file: "temp/server-cert.pem"
tls_key_file: "temp/server-key.pem"
tls_client_ca_file: "temp/ca-cert.pem"
metrics_port: 9000
identity_proxy_header: X-Frontier-Email
resources_config_path: file:///tmp/resources_config\
resources_config_path_secret: env://TEST_RESOURCE_CONFIG_SECRET
disable_orgs_on_create: false
disable_orgs_listing: false
disable_users_listing: false
invite:
with_roles: false
mail_template:
subject: "You have been invited to join an organization"
body: "<div>Hi {{.UserID}},</div><br><p>You have been invited to join an organization: {{.Organization}}. Login to your account to accept the invitation.</p><br><div>Thanks,<br>Team Frontier</div>"
cors:
allowed_origins:
- "https://example.com"
allowed_methods:
- POST
- GET
- PUT
- PATCH
- DELETE
allowed_headers:
- Authorization
exposed_headers:
- Content-Type
authentication:
session:
hash_secret_key: "hash-secret-should-be-32-chars--"
block_secret_key: "block-secret-should-be-32-chars-"
domain: ""
same_site: "lax"
secure: false
validity: "720h"
token:
rsa_path: ""
iss: "http://localhost.frontier"
validity: "1h"
callback_urls: ["http://localhost:8000/v1beta1/auth/callback"]
authorized_redirect_urls: []
oidc_config:
google:
client_id: "xxxxx.apps.googleusercontent.com"
client_secret: "xxxxx"
issuer_url: "https://accounts.google.com"
validity: "10m"
mail_otp:
subject: "Frontier - Login Link"
body: "Please copy/paste the OneTimePassword in login form.<h2>{{.Otp}}</h2>This code will expire in 10 minutes."
validity: "1h"
mail_link:
subject: "Frontier Login - One time link"
body: "Click on the following link or copy/paste the url in browser to login.<br><h2><a href='{{.Link}}' target='_blank'>Login</a></h2><br>Address: {{.Link}} <br>This link will expire in 15 minutes."
validity: 15m
admin:
users: []
mailer:
smtp_host: smtp.example.com
smtp_port: 587
smtp_username: "username"
smtp_password: "password"
smtp_insecure: true
headers:
from: "username@acme.org"
db:
driver: postgres
url: postgres://frontier:@localhost:5432/frontier?sslmode=disable
max_query_timeout: 500ms
spicedb:
host: spicedb.localhost
pre_shared_key: randomkey
port: 50051
fully_consistent: false