1.0.6 • Published 2 years ago

@mich4l/passport-google v1.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
2 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

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago