1.0.6 • Published 3 years ago

@mich4l/passport-google v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Untested and not ready to use module - in early stage of development!

Google strategy for Passport.js

Easy to use Google strategy. It's just Sign In With Google implementation (https://developers.google.com/identity/gsi/web/guides/verify-google-id-token).

Options

  • clientID (required) - required for idToken verification.

  • csrfCheck (optional) - strategy will validate g_csrf_token. False by default.

  • passReqToCallback (optional) - strategy will pass Request object to callback.

  • tokenFromRequest (optional) - strategy will use provided function to extract id token from request.

Important things

  1. Use HTTPS
  2. Never include your secrets directly in your code base - use environment variables instead.
1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago