32 lines
889 B
TOML
32 lines
889 B
TOML
# Example configuration. The server address and port must be
|
|
# match the basebox Broker's GraphQL schema @bb_resolver metadata for
|
|
# the corresponding queries/mutations, e.g.:
|
|
#
|
|
# type Mutation {
|
|
# orderPizza(
|
|
# name: String!
|
|
# toppings: [String!]!
|
|
# ): OrderInfo
|
|
# @bb_resolver (
|
|
# _type: HTTP_SERVICE
|
|
# _url: "http://127.0.0.1:8891/graphql"
|
|
# )
|
|
# }
|
|
|
|
[server]
|
|
# port to listen on
|
|
port = 8891
|
|
# automatically reload on source file changes. Default: false
|
|
# development only - disable in production
|
|
autoreload = true
|
|
|
|
[auth]
|
|
# realm for identity provider, for loading key store data
|
|
idp_url = "https://kcdev.basebox.io:8443/realms/test-runner"
|
|
|
|
# prefix for permission values, resulting in a check against e.g. "allow::bb::operation::orderPizza"
|
|
ols_prefix = "allow::bb::operation::"
|
|
|
|
# permissions key name in token claims
|
|
permissions_key = "basebox/permissions"
|