Skip to content

Commit

Permalink
log when failing to get the provider ID in singleLogoutService
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
  • Loading branch information
julien-nc committed Jan 14, 2025
1 parent 0c29ad9 commit 4bfbeea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Controller/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,8 @@ public function singleLogoutService() {
$decoded = (array)JWT::decode($jwt, new Key($key, 'HS256'));

$providerId = $decoded['oidcProviderId'] ?? null;
} catch (\Exception) {
} catch (\Exception $e) {
$this->logger->debug('Failed to get the logout provider ID in the request from GSS', ['exception' => $e]);
}
} else {
$providerId = $this->session->get(self::PROVIDERID);
Expand Down

0 comments on commit 4bfbeea

Please sign in to comment.