I know this question is old, but I was looking for the answer myself. I found it in the "widget_authentication" example included with HybridAuth.
Look in the index.php file inside the widget folder. Even if you don't want to use the widget, you can still see exactly how the author opened either a new window or intermediate plus new window, depending on the provider.