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

Support OIDC backchannel logouts #11414

Merged
merged 20 commits into from
Oct 31, 2022
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Validate exp and nbf claims in logout tokens if present
Signed-off-by: Quentin Gliech <quenting@element.io>
  • Loading branch information
sandhose committed Oct 26, 2022
commit a5d74faf8e386158a42514d626ce126b00097038
8 changes: 0 additions & 8 deletions synapse/handlers/oidc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1270,14 +1270,6 @@ def validate(self, now: Optional[int] = None, leeway: int = 0) -> None:
self.validate_events()
self.validate_nonce()

def validate_exp(self, now: Optional[int] = None, leeway: int = 0) -> None:
"""Do not validate the exp claim"""
pass

def validate_nbf(self, now: Optional[int] = None, leeway: int = 0) -> None:
"""Do not validate the nbf claim"""
pass

def validate_sid(self) -> None:
"""Ensure the sid claim is present"""
sid = self.get("sid")
Expand Down