It’s been a while since I wrote the Twitter Selenium components in Magium and I forgot that I wrote two ways of authenticating. In case you don’t know how to install it: here you go
composer require magium/twitter
Directly authenticating against Twitter
Site authentication using Twitter
$action = $this->getAction(SignInWithTwitter::ACTION);
Two actions; two scenarios.