Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Comment about the token endpoint not checking auth in the FakeOidcServer
Browse files Browse the repository at this point in the history
  • Loading branch information
sandhose committed Oct 24, 2022
1 parent a973c91 commit a6fec41
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_utils/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,9 @@ async def _request(
params = parse_qs(data.decode("utf-8"))

if uri == self.token_endpoint:
# Even though this endpoint should be protected, this does not check
# for client authentication. We're not checking it for simplicity,
# and because client authentication is tested in other standalone tests.
return self.post_token_handler(params)

elif method == "GET":
Expand Down

0 comments on commit a6fec41

Please sign in to comment.