This hotfix makes sure to do a Zend\Session\SessionManager::start before instantiating the HybridAuth object.
PHP CS Fix
Retrieving useRedirectParameterIfPresent option
from ZfcUser to our module.
Adding redirect to the helper url.
Adding redirect to the return url of HAuth.
Fixed misspelling
Fixing README
Making sure use_redirect_parameter_if_present option is set before using it
New way of accessing use_redirect_parameter_if_present option
by directly injecting ZfcUser\Options\ModuleOptions into ScnSocialAuth\Controller\UserController
Merge pull request #33 from SocalNick/hotfix-session-start

Hotfix Session Start
The controller requires an instance of the UserProvider Mapper
Link user to provider

Simple case is user provider not found, simply link. If the user is already linked, it's a no-op - simply return. Throw an exception if the provider profile is linked to another user.
Add provider action

404 for disabled provider. Redirect to login if user isn't logged in. Does HybridAuth authenticate routine, redirecting to provider for authorization. On success, it links the user to the provider. Supports redirect to URL via query param, or falls back to the login redirect route.
Verify the user is connected through HybridAuth
Merge pull request #35 from SocalNick/feature-add-provider

Feature add provider
No need to set the zfcUserOptions here
as it's set by default in the controller getter.
Fixes call the right setter for default ZfcUserOptions.
Merge branch 'master' into 27-post-login-redirect-url

Conflicts:
	src/ScnSocialAuth/Controller/UserController.php
	src/ScnSocialAuth/Service/UserControllerFactory.php
Newline at end of file ;)
Totally remove injection of ZfcUserOptions