yesod-auth-fb 1.2.2 → 1.2.3
raw patch · 2 files changed
+6/−6 lines, 2 filesdep ~bytestringdep ~yesod-fb
Dependency ranges changed: bytestring, yesod-fb
Files
src/Yesod/Auth/Facebook/ClientSide.hs view
@@ -383,7 +383,7 @@ uncommas xs = case break (== ',') xs of (x', ',':xs') -> x' : uncommas xs' (x', _) -> [x']- url <- YF.runFacebookT $+ url <- YF.runYesodFbT $ FB.getUserAccessTokenStep1 redirectTo $ map fromString $ uncommas $ T.unpack perms redirect url@@ -454,7 +454,7 @@ creds <- lift YF.getFbCredentials unparsed <- toErrorT "cookie not found" $ lookupCookie (signedRequestCookieName creds) A.Object parsed <- toErrorT "cannot parse signed request" $- YF.runFacebookT $+ YF.runYesodFbT $ FB.parseSignedRequest (TE.encodeUtf8 unparsed) case (flip A.parseEither () $ const $ (,,,) <$> parsed A..:? "code"@@ -479,7 +479,7 @@ token <- ErrorT $ fmap (either (Left . fbErrorMsg) Right) $ E.try $- YF.runFacebookT $+ YF.runYesodFbT $ FB.getUserAccessTokenStep2 "" [("code", code)] case token of FB.UserAccessToken userId data_ exptime -> lift $ do
yesod-auth-fb.cabal view
@@ -1,5 +1,5 @@ Name: yesod-auth-fb-Version: 1.2.2+Version: 1.2.3 Synopsis: Authentication backend for Yesod using Facebook. Homepage: https://github.com/meteficha/yesod-auth-fb License: BSD3@@ -50,10 +50,10 @@ , http-conduit , text >= 0.7 && < 0.12 , transformers >= 0.1.3 && < 0.4- , yesod-fb == 0.1.*+ , yesod-fb == 0.2.* , fb >= 0.11 && < 0.13 , conduit == 0.5.*- , bytestring == 0.9.*+ , bytestring >= 0.9 && < 0.11 , aeson == 0.6.* , time >= 1.0 && < 1.5 , old-locale == 1.0.*