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 <cardoe@cardoe.com>
This commit is contained in:
Doug Goldstein
2026-02-09 08:33:07 +01:00
committed by GitHub
parent ec564f2420
commit 4bdb4f2c5a
2 changed files with 24 additions and 0 deletions
+15
View File
@@ -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.
#
+9
View File
@@ -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