Skip to content

Commit

Permalink
Fix custom connection scopes
Browse files Browse the repository at this point in the history
  • Loading branch information
luisrudge committed Jun 22, 2017
1 parent 68fe3d6 commit 34573c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/web_api/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export function loginCallback(redirect, cb) {
: (error, result) => cb(normalizeError(error), result);
}

export function normalizeAuthParams({ connection_scope, popup, popupOptions, ...authParams }) {
export function normalizeAuthParams({ popup, popupOptions, ...authParams }) {
return authParams;
}

Expand Down
2 changes: 1 addition & 1 deletion src/quick-auth/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function logIn(id, connection, loginHint) {
const scopes = connectionScopes.get(connection.get('name'));
const params = {
connection: connection.get('name'),
connection_scope: scopes ? scopes.toJS() : []
connection_scope: scopes ? scopes.toJS() : undefined
};

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

0 comments on commit 34573c7

Please sign in to comment.