<commit_before>var PassportConfigurator = require('loopback-component-passport').PassportConfigurator;

module.exports = function (app) {
	var passportConfigurator = new PassportConfigurator(app);

	passportConfigurator.init();
	passportConfigurator.setupModels({
		userModel: app.models.User,
		userIdentityModel: app.models.UserIdentity,
		userCredentialModel: app.models.UserCredential
	});

	var passportProvidersConfig = require('../providers.js');

	passportConfigurator.configureProvider('facebook-login', passportProvidersConfig['facebook-login']);
	passportConfigurator.configureProvider('facebook-login', passportProvidersConfig['google-login']);<commit_msg>providers server fix<commit_after>var PassportConfigurator = require('loopback-component-passport').PassportConfigurator;

module.exports = function (app) {
	var passportConfigurator = new PassportConfigurator(app);

	passportConfigurator.init();
	passportConfigurator.setupModels({
		userModel: app.models.User,
		userIdentityModel: app.models.UserIdentity,
		userCredentialModel: app.models.UserCredential
	});

	var passportProvidersConfig = require('../providers.js');

	passportConfigurator.configureProvider('facebook-login', passportProvidersConfig['facebook-login']);
	passportConfigurator.configureProvider('google-login', passportProvidersConfig['google-login']);
{'fraction_non_alphanumeric': 0.116331096196868, 'fraction_numerical': 0.0, 'mean_word_length': 8.5177304964539, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '353168', 'n_tokens_mistral': 394, 'n_tokens_neox': 373, 'n_words': 51}