Add examples for recent additions to oauth2 configuration options

This commit is contained in:
Tom Downes 2019-08-09 11:55:25 -05:00
parent d9f6ab4a68
commit 963b8e992d
No known key found for this signature in database
GPG Key ID: 5E2E93C2E2EB4C4F
1 changed files with 10 additions and 4 deletions

View File

@ -42,11 +42,17 @@ telemetry:
# level: "debug"
# format: "text" # can also be "json"
# Uncomment this block to control which response types dex supports. For example
# the following response types enable the implicit flow for web-only clients.
# Defaults to ["code"], the code flow.
# Default values shown below
# oauth2:
# responseTypes: ["code", "token", "id_token"]
# use ["code", "token", "id_token"] to enable implicit flow for web-only clients
# responseTypes: [ "code" ] # also allowed are "token" and "id_token"
# By default, Dex will ask for approval to share data with application
# (approval for sharing data from connected IdP to Dex is separate process on IdP)
# skipApprovalScreen: false
# If only one authentication method is enabled, the default behavior is to
# go directly to it. For connected IdPs, this redirects the browser away
# from application to upstream provider such as the Google login page
# alwaysShowLoginScreen: false
# Instead of reading from an external storage, use this list of clients.
#