diff --git a/lib/authentication/Manager.php b/lib/authentication/Manager.php
index 6055f9f1b5420881b6881da5589c6213f0844c91..d9c9f95927f2c1ff5f104afcf8cb358b08b0eecb 100644
--- a/lib/authentication/Manager.php
+++ b/lib/authentication/Manager.php
@@ -72,6 +72,7 @@ class Manager
                         Metrics::increment('core.sso_login.succeeded');
 
                         sess()->regenerateId(['auth', '_language', 'phpCAS', 'contrast']);
+                        $this->setAuthenticatedUser($user);
                     }
                 }
             }