Skip to content
Merged
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions lib/Listener/TokenInvalidatedListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function handle(Event $event): void {
try {
$oidcSession = $this->sessionMapper->getSessionByAuthTokenAndUid($eventTokenId, $eventTokenUserId);
} catch (Exception|DoesNotExistException|MultipleObjectsReturnedException $e) {
$this->logger->warning('[TokenInvalidatedListener] Could not find the OIDC session related with an invalidated token', [
$this->logger->debug('[TokenInvalidatedListener] Could not find the OIDC session related with an invalidated token', [
'token_id' => $eventTokenId,
'user_id' => $eventTokenUserId,
'exception' => $e,
Expand All @@ -65,7 +65,7 @@ public function handle(Event $event): void {
}
// we have nothing to do if we know the idp session is already closed
if ($oidcSession->getIdpSessionClosed() !== 0) {
$this->logger->warning('[TokenInvalidatedListener] The session is already closed on the IdP side', [
$this->logger->debug('[TokenInvalidatedListener] The session is already closed on the IdP side', [
'token_id' => $eventTokenId,
'user_id' => $eventTokenUserId,
]);
Expand Down Expand Up @@ -110,7 +110,7 @@ public function handle(Event $event): void {
$endSessionEndpoint .= '&client_id=' . $provider->getClientId();
$endSessionEndpoint .= '&id_token_hint=' . $decryptedIdToken;

$this->logger->warning('[TokenInvalidatedListener] requesting ' . $endSessionEndpoint);
$this->logger->debug('[TokenInvalidatedListener] requesting ' . $endSessionEndpoint);
try {
$this->httpClientHelper->get($endSessionEndpoint, [], ['timeout' => 5]);
} catch (ClientException|ServerException $e) {
Expand Down
Loading