Skip to content

Commit d18edf6

Browse files
authored
Fix lint which broke in #18374 (#18385)
#18374 did not pass linting but was merged
1 parent fd5d3d8 commit d18edf6

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

changelog.d/18385.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Don't validate the `at_hash` (access token hash) field in OIDC ID Tokens if we don't end up actually using the OIDC Access Token.

synapse/handlers/oidc.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ def _uses_access_token(self) -> bool:
599599
# from the userinfo endpoint. Therefore we only have a single criteria
600600
# to check right now but this may change in the future and this function
601601
# should be updated if more usages are introduced.
602-
#
602+
#
603603
# For example, if we start to use the access_token given to us by the
604604
# IdP for more things, such as accessing Resource Server APIs.
605605
return self._uses_userinfo

0 commit comments

Comments
 (0)