From 6a567f0ccd04716b80a5ddb7b14f449fe4608e59 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Thu, 10 Sep 2015 15:57:01 -0700 Subject: [PATCH 1/2] ask for profile permission somehow we are able to read the profile of most users without this --- yesod-auth/Yesod/Auth/GoogleEmail2.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-auth/Yesod/Auth/GoogleEmail2.hs b/yesod-auth/Yesod/Auth/GoogleEmail2.hs index 1d4eeed6..1cceeed0 100644 --- a/yesod-auth/Yesod/Auth/GoogleEmail2.hs +++ b/yesod-auth/Yesod/Auth/GoogleEmail2.hs @@ -152,7 +152,7 @@ authPlugin storeToken clientID clientSecret = csrf <- getCreateCsrfToken render <- getUrlRender let qs = map (second Just) - [ ("scope", "email") + [ ("scope", "email profile") , ("state", csrf) , ("redirect_uri", render $ tm complete) , ("response_type", "code") From 92870f8c479b2a5aec34a7161c414946a2548d37 Mon Sep 17 00:00:00 2001 From: Greg Weber Date: Thu, 10 Sep 2015 16:18:36 -0700 Subject: [PATCH 2/2] version bump --- yesod-auth/yesod-auth.cabal | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yesod-auth/yesod-auth.cabal b/yesod-auth/yesod-auth.cabal index 568d08ee..3959040a 100644 --- a/yesod-auth/yesod-auth.cabal +++ b/yesod-auth/yesod-auth.cabal @@ -1,5 +1,5 @@ name: yesod-auth -version: 1.4.6 +version: 1.4.6.1 license: MIT license-file: LICENSE author: Michael Snoyman, Patrick Brisbin