Skip to content

Commit 4fdd311

Browse files
committed
correct typo in the authentication query to github
1 parent d6fe309 commit 4fdd311

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Yesod/Auth/OAuth2/Github.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ oauth2Github clientId clientSecret scopes = basicPlugin {apDispatch = dispatch}
5656
oauth = OAuth2
5757
{ oauthClientId = encodeUtf8 clientId
5858
, oauthClientSecret = encodeUtf8 clientSecret
59-
, oauthOAuthorizeEndpoint = encodeUtf8 $ "https://github.com/login/oauth/authorize?scopes=" `T.append` T.intercalate "," scopes
59+
, oauthOAuthorizeEndpoint = encodeUtf8 $ "https://github.com/login/oauth/authorize?scope=" `T.append` T.intercalate "," scopes
6060
, oauthAccessTokenEndpoint = "https://github.com/login/oauth/access_token"
6161
, oauthCallback = Nothing
6262
}

0 commit comments

Comments
 (0)