Merge pull request #1073 from yesodweb/yesod-auth-google-profile

yesod-auth: google sign-in ask for profile permission
This commit is contained in:
Christopher Reichert 2015-09-11 00:11:19 -05:00
commit ae71026e71
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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