How can I make Rules react to `User has logged in` when user logs in through CAS?
I ended up using hook_user_login, which detects all logins without problem:

myModuleName.module

function myModuleName_user_login (&amp;$edit, $account) {
    my_user_login_function($account);
}