Skip to content

Commit 7b5457f

Browse files
committed
GH-18: Write up the "PKCE support" section
1 parent bc073ef commit 7b5457f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

docs/references/index.md

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ provided `state`, the `oauthlib` validates it and then redirects to the `redirec
2929

3030
## PKCE support
3131

32-
::: tip Ticket #18
33-
34-
PKCE support is under development and will be available in the next release. You can track the progress in
35-
the [#18](https://github.com/pysnippet/fastapi-oauth2/issues/18) issue.
36-
37-
:::
32+
PKCE can be enabled by providing the `code_challenge` and `code_challenge_method` parameters to
33+
the `/oauth2/{provider}/authorize` endpoint. Then, after the authorization passes, the `code_verifier` should be
34+
provided to the `/oauth2/{provider}/token` endpoint to complete the authentication process.
3835

3936
<style>
4037
.tip {

0 commit comments

Comments
 (0)