Skip to content

Commit 21488a9

Browse files
committed
fixed facebook and bitbucket redirect uri
1 parent 1a1a4de commit 21488a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/options.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default {
5555
name: 'facebook',
5656
url: '/auth/facebook',
5757
authorizationEndpoint: 'https://www.facebook.com/v2.5/dialog/oauth',
58-
redirectUri: window.location.origin,
58+
redirectUri: window.location.origin + '/',
5959
requiredUrlParams: ['display', 'scope'],
6060
scope: ['email'],
6161
scopeDelimiter: ',',
@@ -116,7 +116,7 @@ export default {
116116
name: 'bitbucket',
117117
url: '/auth/bitbucket',
118118
authorizationEndpoint: 'https://bitbucket.org/site/oauth2/authorize',
119-
redirectUri: window.location.origin,
119+
redirectUri: window.location.origin + '/',
120120
optionalUrlParams: ['scope'],
121121
scope: ['email'],
122122
scopeDelimiter: ' ',

0 commit comments

Comments
 (0)