mirror of
https://github.com/netbirdio/dex.git
synced 2026-05-22 18:43:53 -07:00
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:
@@ -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.
|
||||
#
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user