mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-17 19:21:04 +01:00
fixed facebook + gplus authentication - callbackURL was invalid
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
login_strategies.push({
|
login_strategies.push({
|
||||||
name: 'google',
|
name: 'google',
|
||||||
url: '/auth/google',
|
url: '/auth/google',
|
||||||
callbackURL: nconf.get('url') + '/auth/google/callback',
|
callbackURL: '/auth/google/callback',
|
||||||
icon: 'google-plus',
|
icon: 'google-plus',
|
||||||
scope: 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email'
|
scope: 'https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email'
|
||||||
});
|
});
|
||||||
@@ -95,7 +95,7 @@
|
|||||||
login_strategies.push({
|
login_strategies.push({
|
||||||
name: 'facebook',
|
name: 'facebook',
|
||||||
url: '/auth/facebook',
|
url: '/auth/facebook',
|
||||||
callbackURL: nconf.get('url') + '/auth/facebook/callback',
|
callbackURL: '/auth/facebook/callback',
|
||||||
icon: 'facebook',
|
icon: 'facebook',
|
||||||
scope: 'email'
|
scope: 'email'
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user