ask for profile permission

somehow we are able to read the profile
of most users without this
This commit is contained in:
Greg Weber 2015-09-10 15:57:01 -07:00
parent ae0d0b12c4
commit 6a567f0ccd

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