diff --git a/plugins/arOidcPlugin/lib/oidcUser.class.php b/plugins/arOidcPlugin/lib/oidcUser.class.php index 52e8fc3218..993d382cbf 100644 --- a/plugins/arOidcPlugin/lib/oidcUser.class.php +++ b/plugins/arOidcPlugin/lib/oidcUser.class.php @@ -183,6 +183,8 @@ public function authenticate($username = null, $password = null): bool } $authenticated = true; + QubitUser::clearCache(); + // Refresh user so new groups and credentials are immediately available on signIn(). $this->signIn(QubitUser::getById($user->id)); }