From 4bdb4f2c5a337c17b1af16c366e6f02e802bb756 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Mon, 9 Feb 2026 01:33:07 -0600 Subject: [PATCH] chore: extend example configs for idEnv and public (#4443) Add a few more examples in the configs for staticClient configuration using idEnv and public flags. Signed-off-by: Doug Goldstein --- config.yaml.dist | 15 +++++++++++++++ examples/config-dev.yaml | 9 +++++++++ 2 files changed, 24 insertions(+) diff --git a/config.yaml.dist b/config.yaml.dist index c187ca3c..71dafbcc 100644 --- a/config.yaml.dist +++ b/config.yaml.dist @@ -119,6 +119,21 @@ web: # - 'http://127.0.0.1:5555/callback' # name: 'Example App' # secret: ZXhhbXBsZS1hcHAtc2VjcmV0 +# +# # Example using environment variables +# # These fields are mutually exclusive with id and secret respectively. +# - idEnv: DEX_CLIENT_ID +# secretEnv: DEX_CLIENT_SECRET +# redirectURIs: +# - 'https://app.example.com/callback' +# name: 'Production App' +# +# # Example of a public client (no secret required) +# - id: example-device-client +# redirectURIs: +# - /device/callback +# name: 'Static Client for Device Flow' +# public: true # Connectors are used to authenticate users against upstream identity providers. # diff --git a/examples/config-dev.yaml b/examples/config-dev.yaml index 0fdf350c..a7de8639 100644 --- a/examples/config-dev.yaml +++ b/examples/config-dev.yaml @@ -131,6 +131,15 @@ staticClients: - 'http://127.0.0.1:5555/callback' name: 'Example App' secret: ZXhhbXBsZS1hcHAtc2VjcmV0 + +# Example using environment variables +# Set DEX_CLIENT_ID and DEX_SECURE_CLIENT_SECRET before starting Dex +# - idEnv: DEX_CLIENT_ID +# secretEnv: DEX_CLIENT_SECRET +# redirectURIs: +# - 'http://127.0.0.1:5556/callback' +# name: 'Secure Example App' + # - id: example-device-client # redirectURIs: # - /device/callback