Merge pull request #1516 from tpdownes/doc/oauth2_config

Add examples for recent additions to oauth2 configuration options
This commit is contained in:
Stephan Renatus 2019-08-13 10:24:10 +02:00 committed by GitHub
commit d328a5ebaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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