We utilize authservice behind a lot of different virtual services, however the way the current configuration file exists, we end up needing to create separate chains for every application, even though nearly all the contents are repeated. Here's a redacted version of the configuration file with 2 applications, containing the same values across both:
In the above example, given we're using a shared client ID and secret across chains, the only differencing fields are:
Chain name
match.prefix
filters.[].oidc.callback_uri
filters.[].oidc.cookie_name_prefix
If the configuration could be templated out or dynamically generated to make the configuration DRY, short, and as simple as possible, it'd make our use-case infinitely easier.
We utilize authservice behind a lot of different virtual services, however the way the current configuration file exists, we end up needing to create separate chains for every application, even though nearly all the contents are repeated. Here's a redacted version of the configuration file with 2 applications, containing the same values across both:
In the above example, given we're using a shared client ID and secret across chains, the only differencing fields are:
name
match.prefix
filters.[].oidc.callback_uri
filters.[].oidc.cookie_name_prefix
If the configuration could be templated out or dynamically generated to make the configuration DRY, short, and as simple as possible, it'd make our use-case infinitely easier.