diff --git a/library.js b/library.js index bc9cda7..f03bb0b 100644 --- a/library.js +++ b/library.js @@ -114,7 +114,7 @@ url: '/auth/oauth', callbackURL: '/auth/generic/callback', icon: 'check', - scope: meta.config['social:oauth:scope'].split(',') + scope: (meta.config['social:oauth:scope'] || '').split(',') }); return strategies;