From e7a41e9885e4c2738770adea722389640fa07ee2 Mon Sep 17 00:00:00 2001
From: Dusan Jakub
Date: Wed, 18 Oct 2023 13:16:18 +0200
Subject: [PATCH] Add client secret to Auth code flow example
---
src/flow/code-3.html | 10 ++++++++++
src/twistd.log | 18 ++++++++++++++++++
src/twistd.pid | 1 +
3 files changed, 29 insertions(+)
create mode 100644 src/twistd.log
create mode 100644 src/twistd.pid
diff --git a/src/flow/code-3.html b/src/flow/code-3.html
index ce8279e..c9d6d7b 100644
--- a/src/flow/code-3.html
+++ b/src/flow/code-3.html
@@ -78,6 +78,12 @@
used by the authorization server to identify the application when redirecting the user back to the client.
+
+ client_secret=
+
+ Client secret. Note that this flow is wrongly used for a JavaScript application, in which anyone can read the secret.
+
+
redirect_uri=
The redirect URI
@@ -160,6 +166,7 @@