Skip to content

Commit

Permalink
fixed facebook's redirect_uri issue in IE9
Browse files Browse the repository at this point in the history
  • Loading branch information
sahat committed Oct 3, 2014
1 parent a8993d3 commit 584559d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/client/vendor/satellizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
facebook: {
url: '/auth/facebook',
authorizationEndpoint: 'https://www.facebook.com/dialog/oauth',
redirectUri: window.location.origin + '/' || window.location.protocol + '//' + window.location.host + '/',
redirectUri: window.location.origin ? window.location.origin + '/' : window.location.protocol + '//' + window.location.host + '/',
scope: ['email'],
scopeDelimiter: ',',
requiredUrlParams: ['display', 'scope'],
Expand Down
2 changes: 1 addition & 1 deletion satellizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
facebook: {
url: '/auth/facebook',
authorizationEndpoint: 'https://www.facebook.com/dialog/oauth',
redirectUri: window.location.origin + '/' || window.location.protocol + '//' + window.location.host + '/',
redirectUri: window.location.origin ? window.location.origin + '/' : window.location.protocol + '//' + window.location.host + '/',
scope: ['email'],
scopeDelimiter: ',',
requiredUrlParams: ['display', 'scope'],
Expand Down
Loading

0 comments on commit 584559d

Please sign in to comment.