Skip to content

Commit

Permalink
Merge pull request #503 from ktosiek/patch-1
Browse files Browse the repository at this point in the history
docs: CodeChallenge(required=True) only applies to public clients
  • Loading branch information
lepture authored Nov 5, 2022
2 parents a7ac27a + e886e2c commit 676645c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/specs/rfc7636.rst
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Now you can register your ``AuthorizationCodeGrant`` with the extension::
from authlib.oauth2.rfc7636 import CodeChallenge
server.register_grant(MyAuthorizationCodeGrant, [CodeChallenge(required=True)])

If ``required=True``, code challenge is required for authorization code flow.
If ``required=True``, code challenge is required for authorization code flow from public clients.
If ``required=False``, it is optional, it will only valid the code challenge
when clients send these parameters.

Expand Down

0 comments on commit 676645c

Please sign in to comment.