text: 'use strict';
  
  const authentication = require('feathers-authentication');
  
  const GoogleStrategy = require('passport-google-oauth20').Strategy;
  const GoogleTokenStrategy = require('passport-google-token').Strategy;
  const SpotifyStrategy = require('passport-spotify').Strategy;
  
  module.exports = function() {
    const app = this;
  
    let config = app.get('auth');
    
    config.google.strategy = GoogleStrategy;
    config.google.tokenStrategy = GoogleTokenStrategy;
    config.spotify.strategy = SpotifyStrategy;
  
    app.set('auth', config);
    app.configure(authentication(config));
  };
  