Skip to content

GlennMiller1991/google-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@fbltd/google-auth

google-auth is a wrapper library for "Sign in with Google" that simplifies the integration process:

  • no need to uglify your html file;
  • no untyped global variables;
  • framework-agnostic — works with any frontend framework.;
  • no hidden properties or any side effects beyond the import;
  • includes TypeScript types.

Just type

const google = await GoogleAuth.import();
if (!google) {
    // Google lib loading error
    return;
}

// Proceed with Google Sign-In
google.accounts.id.initialize(...);

and check the Google documentation for further exploration.

About

Simple "Sign in with Google" library wrapper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published