Hook into ‘when user logs in’ [persistent login]
wp_login action is available. The wp_login action hook is triggered when a user logs in by the wp_signon() function. It is the very last action taken in the function, immediately following the wp_set_auth_cookie() call. Check this official documentation.