It appears that the usage instructions need updating as just by calling Socialite::driver('hubspot')->redirect(); will eventually return the following error:
Couldn’t complete the connection An invalid scope name was provided. Please contact the app developer.
To resolve the issue you have to use setScopes before calling redirect i.e.
It appears that the usage instructions need updating as just by calling
Socialite::driver('hubspot')->redirect();
will eventually return the following error:To resolve the issue you have to use
setScopes
before callingredirect
i.e.I've listed scopes with the original configuration: