Skip to content

hc0503/google-signin-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

google-signin-demo

Google login demo using gapi

Installation

var startApp = function () {
  gapi.load('auth2', function () {
    auth2 = gapi.auth2.init({
      // Change this to your Google ID
      client_id: 'YOUR_GOOGLE_ID.apps.googleusercontent.com',
      cookiepolicy: 'single_host_origin',
    });
	  attachSignin(document.getElementById('btnGoogle'));
	});
};

Releases

No releases published

Packages

No packages published

Languages