From 9897959c28ab8f0f05639d2129e60d5e34beb3a3 Mon Sep 17 00:00:00 2001 From: Gabriel Andretta Date: Mon, 18 Jan 2016 14:08:19 -0300 Subject: [PATCH 1/3] Pass authParams in social login --- src/social/actions.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/social/actions.js b/src/social/actions.js index 4f7042a..fb5ca76 100644 --- a/src/social/actions.js +++ b/src/social/actions.js @@ -1,3 +1,4 @@ +import { Map } from 'immutable'; import { getEntity, read, swap, updateEntity } from '../store/index'; import { closeLock } from '../lock/actions'; import WebAPI from '../lock/web_api'; @@ -8,7 +9,7 @@ export function signIn(id, connection) { const lock = read(getEntity, "lock", id); - const options = { + const options = l.login.authParams(lock).merge(Map({ connection: connection.name, popup: l.ui.popup(lock), popupOptions: l.ui.popupOptions(lock), @@ -16,8 +17,7 @@ export function signIn(id, connection) { responseType: l.login.responseType(lock), callbackURL: l.login.callbackURL(lock), forceJSONP: l.login.forceJSONP(lock) - // sso: false - }; + })).toJS(); if (l.ui.popup(lock) && connection.strategy === "facebook") { options.display = "popup"; From f33de88e10b8d738f5ffaa68df6b43a934563fb1 Mon Sep 17 00:00:00 2001 From: Gabriel Andretta Date: Mon, 18 Jan 2016 14:14:07 -0300 Subject: [PATCH 2/3] Update font family --- css/index.styl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/index.styl b/css/index.styl index ce8da3c..6f33c47 100644 --- a/css/index.styl +++ b/css/index.styl @@ -79,7 +79,7 @@ breakpoint(point, value = 0) transform none .auth0-lock.auth0-lock - font-family "Avenir", sans-serif + font-family "Avenir Next", Avenir, -apple-system, BlinkMacSystemFont, Roboto, Hevetica, sans-serif text-rendering optimizeLegibility pointer-events none position fixed From 02158c700b69397fbe806b7de67df585670b9ff3 Mon Sep 17 00:00:00 2001 From: Gabriel Andretta Date: Mon, 18 Jan 2016 14:19:45 -0300 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4568ff2..07f96c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## unreleased + +### Changed + +- Some font alternatives are provided instead of defaulting to sans-serif immediately on systems without Avenir. + +### Fixed + +- Pass `authParams` option in a social login. + ## [2.2.0] - 2016-01-14 ### Changed