Browse Source

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>
pull/4517/head
Doug Goldstein 1 month ago committed by GitHub
parent
commit
4bdb4f2c5a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 15
      config.yaml.dist
  2. 9
      examples/config-dev.yaml

15
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.
#

9
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

Loading…
Cancel
Save