File tree Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Expand file tree Collapse file tree 3 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ Joseph Abrahams
49
49
Jozef Knaperek
50
50
Julien Palard
51
51
Jun Zhou
52
+ Kaleb Porter
52
53
Kristian Rune Larsen
53
54
Michael Howitz
54
55
Paul Dekkers
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
15
15
-->
16
16
17
17
## [ unreleased]
18
+ * Add 'code_verifier' parameter to token requests in documentation
18
19
19
20
## [ 2.1.0] 2022-06-19
20
21
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ Export it as an environment variable:
305
305
306
306
Now that you have the user authorization is time to get an access token::
307
307
308
- curl -X POST -H "Cache-Control: no-cache" -H "Content-Type: application/x-www-form-urlencoded" "http://127.0.0.1:8000/o/token/" -d "client_id=${ID}" -d "client_secret=${SECRET}" -d "code=${CODE}" -d "redirect_uri=http://127.0.0.1:8000/noexist/callback" -d "grant_type=authorization_code"
308
+ curl -X POST -H "Cache-Control: no-cache" -H "Content-Type: application/x-www-form-urlencoded" "http://127.0.0.1:8000/o/token/" -d "client_id=${ID}" -d "client_secret=${SECRET}" -d "code=${CODE}" -d "code_verifier=${CODE_VERIFIER}" -d " redirect_uri=http://127.0.0.1:8000/noexist/callback" -d "grant_type=authorization_code"
309
309
310
310
To be more easy to visualize::
311
311
@@ -316,6 +316,7 @@ To be more easy to visualize::
316
316
-d "client_id=${ID}" \
317
317
-d "client_secret=${SECRET}" \
318
318
-d "code=${CODE}" \
319
+ -d "code_verifier=${CODE_VERIFIER}" \
319
320
-d "redirect_uri=http://127.0.0.1:8000/noexist/callback" \
320
321
-d "grant_type=authorization_code"
321
322
You can’t perform that action at this time.
0 commit comments