@@ -245,9 +245,9 @@ instance FromJSON RefreshError where
245245 <$> o .: "error"
246246 <*> o .:? "error_description"
247247
248−-- | @https://accounts.google.com/o/oauth2/token@.
248+-- | @https://accounts.google.com/o/oauth2/v2/auth@.
249249accountsURL :: Text
250−accountsURL = "https://accounts.google.com/o/oauth2/token"
250+accountsURL = "https://accounts.google.com/o/oauth2/v2/auth"
251251
252252accountsRequest :: Client.Request
253253accountsRequest = def
@@ -256,7 +256,7 @@ accountsRequest = def
256256 , Client.secure = True
257257 , Client.checkStatus = \_ _ _ -> Nothing
258258 , Client.method = "POST"
259− , Client.path = "/o/oauth2/token"
259+ , Client.path = "/o/oauth2/v2/auth"
260260 , Client.requestHeaders =
261261 [ (hContentType, "application/x-www-form-urlencoded")
262262 ]