Skip to content

Commit d3420e4

Browse files
g-normandn2ygk
andauthored
Update getting_started (#1224)
There was a missing part about the code verifier. Co-authored-by: Alan Crosswell <[email protected]>
1 parent bf4afd4 commit d3420e4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/getting_started.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,14 @@ Now let's generate an authentication code grant with PKCE (Proof Key for Code Ex
273273

274274
Take note of ``code_challenge`` since we will include it in the code flow URL. It should look something like ``XRi41b-5yHtTojvCpXFpsLUnmGFz6xR15c3vpPANAvM``.
275275

276+
277+
Export ``code_verifier`` value as environment variable, it should be something like:
278+
279+
.. sourcecode:: sh
280+
281+
export CODE_VERIFIER=N0hHRVk2WDNCUUFPQTIwVDNZWEpFSjI4UElNV1pSTlpRUFBXNTEzU0QzRTMzRE85WDFWTzU2WU9ESw==
282+
283+
276284
To start the Authorization code flow go to this `URL`_ which is the same as shown below::
277285

278286
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

0 commit comments

Comments
 (0)