Hi Dorel, thank you for responding. However, that is not what I am trying to do. I'm probably not very clear. I need to have the "Log in with Google' button on the front page and upon clicking the button the users gets authenticated with their Google credentials.
We have successfully implemented SSO with Oauth2 and it is currently working on login/index.php and what we really want to do is to have the Google button (only) available on the front page instead of redirecting the users to /login/index.php