Skip to content

Commit da459a1

Browse files
authored
Hotfix- CODE_CHALLENGE instead of CODE_VERIFIER in docs (#1208)
* Hotfix- CODE_CHALLENGE instead of CODE_VERIFIER in docs * HotFix- code_challenge_method added for authorization call in docs * Fix: mandatory documentation to submit PR added
1 parent 9383e08 commit da459a1

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

AUTHORS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Julien Palard
5353
Jun Zhou
5454
Kaleb Porter
5555
Kristian Rune Larsen
56+
Matias Seniquiel
5657
Michael Howitz
5758
Paul Dekkers
5859
Paul Oswald

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1616

1717
## [unreleased]
1818

19+
### Added
20+
* Add 'code_challenge_method' parameter to authorization call in documentation
21+
1922
### Added
2023
* Add 'code_verifier' parameter to token requests in documentation
2124

docs/getting_started.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,13 @@ Take note of ``code_challenge`` since we will include it in the code flow URL. I
275275

276276
To start the Authorization code flow go to this `URL`_ which is the same as shown below::
277277

278-
http://127.0.0.1:8000/o/authorize/?response_type=code&code_challenge=XRi41b-5yHtTojvCpXFpsLUnmGFz6xR15c3vpPANAvM&client_id=vW1RcAl7Mb0d5gyHNQIAcH110lWoOW2BmWJIero8&redirect_uri=http://127.0.0.1:8000/noexist/callback
278+
http://127.0.0.1:8000/o/authorize/?response_type=code&code_challenge=XRi41b-5yHtTojvCpXFpsLUnmGFz6xR15c3vpPANAvM&code_challenge_method=S256&client_id=vW1RcAl7Mb0d5gyHNQIAcH110lWoOW2BmWJIero8&redirect_uri=http://127.0.0.1:8000/noexist/callback
279279

280280
Note the parameters we pass:
281281

282282
* **response_type**: ``code``
283283
* **code_challenge**: ``XRi41b-5yHtTojvCpXFpsLUnmGFz6xR15c3vpPANAvM``
284+
* **code_challenge_method**: ``S256``
284285
* **client_id**: ``vW1RcAl7Mb0d5gyHNQIAcH110lWoOW2BmWJIero8``
285286
* **redirect_uri**: ``http://127.0.0.1:8000/noexist/callback``
286287

0 commit comments

Comments
 (0)