Skip to content

Commit

Permalink
Merge pull request dexidp#1516 from tpdownes/doc/oauth2_config
Browse files Browse the repository at this point in the history
Add examples for recent additions to oauth2 configuration options
  • Loading branch information
srenatus authored Aug 13, 2019
2 parents 6b5dc9c + 182e474 commit 9154188
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions examples/config-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
#
Expand Down

0 comments on commit 9154188

Please sign in to comment.