I managed to make google plus and linkedIn login provided by website work in webview. The key point is that google login javascript opens a new window when initializing a session for authentication with google server. I create a new webview for google login page. We need to keep website login page open which initialises the google authentication, and once google authenticates user successfully, we close the new webview . After that website login webview receives callback and proceed user to login.
It is similar to linkedIn and FB login flow.