Skip to content

Commit 24d9e69

Browse files
committed
docs: make pkce section not part of the code block
1 parent 3628d7d commit 24d9e69

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/misc/pkce.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ Note that this calls your model with additional arguments ``codeChallenge`` and
109109
C. The client then sends the authorization code in the Access Token Request as usual but includes the "code_verifier" secret generated at (A).
110110

111111
This is usually done in your token endpoint, that uses ``OAuth2Server.token``.
112-
Note that your client should have kept ``code_verifier`` a secret until this step and now includes it as param for the token endpoint call.
113112

114113
::
115114

@@ -130,6 +129,9 @@ Note that your client should have kept ``code_verifier`` a secret until this ste
130129
})
131130
}
132131

132+
Note that your client should have kept ``code_verifier`` a secret until this step and now includes it as param for the token endpoint call.
133+
134+
133135
D. The authorization server transforms "code_verifier" and compares it to "t(code_verifier)" from (B). Access is denied if they are not equal.
134136

135137
This will call ``model.getAuthorizationCode`` to load the code.

0 commit comments

Comments
 (0)