Skip to content

Commit

Permalink
Fix facebook login for Internet Explorer (IE)
Browse files Browse the repository at this point in the history
  • Loading branch information
hilnius committed Jun 5, 2015
1 parent e2c4178 commit 277c8b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satellizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
name: 'facebook',
url: '/auth/facebook',
authorizationEndpoint: 'https://www.facebook.com/v2.3/dialog/oauth',
redirectUri: window.location.origin + '/' || window.location.protocol + '//' + window.location.host + '/',
redirectUri: (window.location.origin || window.location.protocol + '//' + window.location.host) + '/',
scope: ['email'],
scopeDelimiter: ',',
requiredUrlParams: ['display', 'scope'],
Expand Down Expand Up @@ -842,4 +842,4 @@
$httpProvider.interceptors.push('satellizer.interceptor');
}]);

})(window, window.angular);
})(window, window.angular);

0 comments on commit 277c8b6

Please sign in to comment.