There was an error while loading. Please reload this page.
1 parent d6fe309 commit 4fdd311Copy full SHA for 4fdd311
Yesod/Auth/OAuth2/Github.hs
@@ -56,7 +56,7 @@ oauth2Github clientId clientSecret scopes = basicPlugin {apDispatch = dispatch}
56
oauth = OAuth2
57
{ oauthClientId = encodeUtf8 clientId
58
, oauthClientSecret = encodeUtf8 clientSecret
59
- , oauthOAuthorizeEndpoint = encodeUtf8 $ "https://github.com/login/oauth/authorize?scopes=" `T.append` T.intercalate "," scopes
+ , oauthOAuthorizeEndpoint = encodeUtf8 $ "https://github.com/login/oauth/authorize?scope=" `T.append` T.intercalate "," scopes
60
, oauthAccessTokenEndpoint = "https://github.com/login/oauth/access_token"
61
, oauthCallback = Nothing
62
}
0 commit comments