Packages

OpenAPI API client for Ory Oathkeeper, a cloud native Identity & Access Proxy and Access Control Decision API that authenticates, authorizes, and mutates incoming HTTP(s) requests.

Current section

Files

Jump to
ory_oathkeeper config runtime.exs
Raw

config/runtime.exs

import Config
# config/runtime.exs is executed for all environments, including
# during releases. It is executed after compilation and before the
# system starts, so it is typically used to load production configuration
# and secrets from environment variables or elsewhere. Do not define
# any compile-time configuration in here, as it won't be applied.
# The block below contains prod specific runtime configuration.
if base_url = System.get_env("ORY_OATHKEEPER_BASE_URI") do
config :ory_oathkeeper, base_url: base_url
end