In this tutorial we will learn how to Implement Google OAuth2.0 Login with Javascript SDK without Page Refresh and also data should be stored on MYSQL database as well.
http://www.jqueryrain.com/2016/05/google-oauth-2-0-ajax-login-using-jquery-php/
http://www.jqueryrain.com/2016/05/google-oauth-2-0-ajax-login-using-jquery-php/