// src/actions/oauth/authorize.php - Generate URL for OAuth
use SevenShores\Hubspot\Utils\OAuth2;

$authUrl = OAuth2::getAuthUrl(
    'ClientID',
    'Redirect Uri',
    ['Scopes']
);

In order to continue please authorize via OAuth