From 8ac8dca9f4e893460a0617e497c6fb48ddc7785e Mon Sep 17 00:00:00 2001
From: Sean Liao <sean+git@liao.dev>
Date: Sun, 2 Jul 2023 09:00:30 +0100
Subject: [PATCH] include granttypes in example config (#3027)

Signed-off-by: Sean Liao <sean+git@liao.dev>
---
 examples/config-dev.yaml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/examples/config-dev.yaml b/examples/config-dev.yaml
index bf11570a..956aa84c 100644
--- a/examples/config-dev.yaml
+++ b/examples/config-dev.yaml
@@ -91,7 +91,16 @@ telemetry:
 
 # Default values shown below
 # oauth2:
-    # use ["code", "token", "id_token"] to enable implicit flow for web-only clients
+    # grantTypes determines the allowed set of authorization flows.
+#   grantTypes:
+#     - "authorization_code"
+#     - "refresh_token"
+#     - "implicit"
+#     - "password"
+#     - "urn:ietf:params:oauth:grant-type:device_code"
+#     - "urn:ietf:params:oauth:grant-type:token-exchange"
+    # responseTypes determines the allowed response contents of a successful authorization flow.
+    # 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)
-- 
GitLab