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
4949Jozef Knaperek
5050Julien Palard
5151Jun Zhou
52+ Kaleb Porter
5253Kristian Rune Larsen
5354Michael Howitz
5455Paul 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
1515 -->
1616
1717## [ unreleased]
18+ * Add 'code_verifier' parameter to token requests in documentation
1819
1920## [ 2.1.0] 2022-06-19
2021
Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ Export it as an environment variable:
305305
306306 Now that you have the user authorization is time to get an access token::
307307
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"
309309
310310To be more easy to visualize::
311311
@@ -316,6 +316,7 @@ To be more easy to visualize::
316316 -d "client_id=${ID}" \
317317 -d "client_secret=${SECRET}" \
318318 -d "code=${CODE}" \
319+ -d "code_verifier=${CODE_VERIFIER}" \
319320 -d "redirect_uri=http://127.0.0.1:8000/noexist/callback" \
320321 -d "grant_type=authorization_code"
321322
You can’t perform that action at this time.
0 commit comments