Skip to content

Commit 34573c7

Browse files
committed
Fix custom connection scopes
1 parent 68fe3d6 commit 34573c7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/core/web_api/helper.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function loginCallback(redirect, cb) {
110110
: (error, result) => cb(normalizeError(error), result);
111111
}
112112

113-
export function normalizeAuthParams({ connection_scope, popup, popupOptions, ...authParams }) {
113+
export function normalizeAuthParams({ popup, popupOptions, ...authParams }) {
114114
return authParams;
115115
}
116116

src/quick-auth/actions.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export function logIn(id, connection, loginHint) {
1313
const scopes = connectionScopes.get(connection.get('name'));
1414
const params = {
1515
connection: connection.get('name'),
16-
connection_scope: scopes ? scopes.toJS() : []
16+
connection_scope: scopes ? scopes.toJS() : undefined
1717
};
1818

1919
if (!l.auth.redirect(m) && connection.get('strategy') === 'facebook') {

0 commit comments

Comments
 (0)