ask for profile permission
somehow we are able to read the profile of most users without this
This commit is contained in:
parent
ae0d0b12c4
commit
6a567f0ccd
@ -152,7 +152,7 @@ authPlugin storeToken clientID clientSecret =
|
|||||||
csrf <- getCreateCsrfToken
|
csrf <- getCreateCsrfToken
|
||||||
render <- getUrlRender
|
render <- getUrlRender
|
||||||
let qs = map (second Just)
|
let qs = map (second Just)
|
||||||
[ ("scope", "email")
|
[ ("scope", "email profile")
|
||||||
, ("state", csrf)
|
, ("state", csrf)
|
||||||
, ("redirect_uri", render $ tm complete)
|
, ("redirect_uri", render $ tm complete)
|
||||||
, ("response_type", "code")
|
, ("response_type", "code")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user