DaftMonk/fullstack-demo

View on GitHub
server/auth/google/passport.js

Summary

Maintainability
A
1 hr
Test Coverage

Function setup has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

exports.setup = function (User, config) {
  passport.use(new GoogleStrategy({
      clientID: config.google.clientID,
      clientSecret: config.google.clientSecret,
      callbackURL: config.google.callbackURL
Severity: Minor
Found in server/auth/google/passport.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status