yesod-auth-fb 1.6 → 1.6.1
raw patch · 3 files changed
+7/−6 lines, 3 filesdep ~aesondep ~fbdep ~text
Dependency ranges changed: aeson, fb, text
Files
demo/clientside.hs view
@@ -27,7 +27,7 @@ instance Yesod Test where- approot = FIXME -- FIXME: Put your approot here+ approot = ApprootStatic "http://dev.whonodes.org:3000" instance RenderMessage Test FormMessage where renderMessage _ _ = englishFormMessage
src/Yesod/Auth/Facebook/ClientSide.hs view
@@ -507,8 +507,9 @@ <*> parsed A..:? "user_id" <*> parsed A..:? "oauth_token" <*> parsed A..:? "expires") of- Right (Just code, _, _, _) -> do+ Right (Just codeT, _, _, _) -> do -- We have to exchange the code for the access token.+ let code = TE.encodeUtf8 codeT moldCode <- lift $ lookupSessionBS sessionCode case moldCode of Just code' | code == code' -> lift $ do
yesod-auth-fb.cabal view
@@ -1,5 +1,5 @@ Name: yesod-auth-fb-Version: 1.6+Version: 1.6.1 Synopsis: Authentication backend for Yesod using Facebook. Homepage: https://github.com/meteficha/yesod-auth-fb License: BSD3@@ -48,13 +48,13 @@ , shakespeare-js >= 1.0.2 , wai , http-conduit >= 1.9- , text >= 0.7 && < 0.12+ , text >= 0.7 && < 1.2 , transformers >= 0.1.3 && < 0.4 , yesod-fb == 0.3.*- , fb == 0.14.*+ , fb >= 0.14 && < 0.16 , conduit == 1.0.* , bytestring >= 0.9 && < 0.11- , aeson == 0.6.*+ , aeson >= 0.6 , time >= 1.0 && < 1.5 Exposed-modules: Yesod.Auth.Facebook