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
.
'@hwi_oauth.templating.helper.oauth' now is '@hwi_oauth.security.oauth_utils'
Just for possible future questions because it was my mistake not to test this solution