mirror of
https://github.com/freckle/yesod-auth-oauth2.git
synced 2026-01-11 19:58:28 +01:00
Fix Google Plugin
Scopes need to be separated by space, not +.
This commit is contained in:
parent
a7bc7c51e3
commit
5096ca04aa
@ -62,7 +62,7 @@ oauth2GoogleScoped scopes clientId clientSecret =
|
||||
{ oauthClientId = clientId
|
||||
, oauthClientSecret = clientSecret
|
||||
, oauthOAuthorizeEndpoint = "https://accounts.google.com/o/oauth2/auth" `withQuery`
|
||||
[ scopeParam "+" scopes
|
||||
[ scopeParam " " scopes
|
||||
]
|
||||
, oauthAccessTokenEndpoint = "https://www.googleapis.com/oauth2/v3/token"
|
||||
, oauthCallback = Nothing
|
||||
|
||||
Loading…
Reference in New Issue
Block a user