cobuild-angular-stack
Version:
Base stack angular sass jade gulp
21 lines (17 loc) • 484 B
JavaScript
(function(){
'use strict';
angular.module('uniko.authSatellizer')
.config( auth );
auth.$inject = ['$authProvider'];
function auth($authProvider){
$authProvider.httpInterceptor = false;
$authProvider.facebook({
url: 'http://uniko.co:3000/api/v2/coupleaccounts/fblogin',
authorizationEndpoint: 'https://www.facebook.com/v2.6/dialog/oauth',
clientId: '$$UnikofbApiKey$$'
});
$authProvider.twitter({
url: 'https://localhost:3000/auth/twitter'
});
}
})();