Skip to content

Commit ecd5afe

Browse files
Merge branch 'master' into fix-view-inheritance
2 parents e9a24de + f835a24 commit ecd5afe

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ Joseph Abrahams
5050
Jozef Knaperek
5151
Julien Palard
5252
Jun Zhou
53+
Kaleb Porter
5354
Kristian Rune Larsen
5455
Michael Howitz
5556
Paul Dekkers

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

docs/contributing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ Try reading our code and grasp the overall philosophy regarding method and varia
263263
the sake of readability, keep in mind that *simple is better than complex*. If you feel the code is not straightforward,
264264
add a comment. If you think a function is not trivial, add a docstrings.
265265

266-
To see if your code formatting will pass muster use: `tox -e py37-flake8`
266+
To see if your code formatting will pass muster use: `tox -e flake8`
267267

268268

269269
The contents of this page are heavily based on the docs from `django-admin2 <https://github.com/twoscoops/django-admin2>`_

docs/getting_started.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

310310
To 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

0 commit comments

Comments
 (0)