diff --git a/application/Espo/Controllers/Oidc.php b/application/Espo/Controllers/Oidc.php index 12b191674e..35e8d81fca 100644 --- a/application/Espo/Controllers/Oidc.php +++ b/application/Espo/Controllers/Oidc.php @@ -58,9 +58,10 @@ class Oidc $response->writeBody(Json::encode($data)); } + /** * @throws BadRequest - * @throws ForbiddenSilent + * @throws Forbidden */ public function postActionBackchannelLogout(Request $request, Response $response): void { diff --git a/application/Espo/Core/Authentication/Oidc/BackchannelLogout.php b/application/Espo/Core/Authentication/Oidc/BackchannelLogout.php index ef2f3961a3..606fdc6d79 100644 --- a/application/Espo/Core/Authentication/Oidc/BackchannelLogout.php +++ b/application/Espo/Core/Authentication/Oidc/BackchannelLogout.php @@ -90,10 +90,6 @@ class BackchannelLogout return; } - if ($user->isPortal()) { - return; - } - $authTokenList = $this->entityManager ->getRDBRepositoryByClass(AuthTokenEntity::class) ->where([