This describes the "connect" functionality that is currently undocumented in the HWIOAuthBundle. This allows you to connect a user to a resource owner when that user is already logged in using some other method (without FOSUserBundle).
Note: you have to use version 1.2 for now, see #1007.
This was mostly figured out by reading hwi/oauth-bundle/Controller/ConnectController.php
.
Cannot autowire service "App\Controller\OAuthConnectController": argument "$oAuthHelper" of method "__construct()" has type "HWI\Bundle\OAuthBundle\Templating\Helper\OAuthHelper" but this class was not found.