summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ui4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ui b/bin/ui
index 3e6ea93..f5e1ba7 100755
--- a/bin/ui
+++ b/bin/ui
@@ -69,12 +69,12 @@ module OAuth
].join("?")
end
- def exchange(grant_type:, code:)
+ def exchange(grant_type:, code:, code_verifier: "not_implemented")
with_http do |client|
client.post(self[:token_endpoint], body: {
grant_type: grant_type,
code: code,
- code_verifier: "not_implemented"
+ code_verifier: code_verifier,
})
end
end