From e86f6d1427017883ec93ddd05e887502ad574eab Mon Sep 17 00:00:00 2001 From: Tobe O Date: Sat, 23 Mar 2019 00:37:59 -0400 Subject: [PATCH] Remove print --- lib/angel_auth_twitter.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/angel_auth_twitter.dart b/lib/angel_auth_twitter.dart index 2aeadbc6..bf1e811f 100644 --- a/lib/angel_auth_twitter.dart +++ b/lib/angel_auth_twitter.dart @@ -75,7 +75,7 @@ class TwitterStrategy extends AuthStrategy { var result = await getRequestToken(); var token = result['oauth_token']; var url = baseUrl.replace( - path: p.join(baseUrl.path, 'oauth/authenticate'), + path: p.join(baseUrl.path, 'oauth/authorize'), queryParameters: {'oauth_token': token}); res.redirect(url); return null; @@ -85,7 +85,6 @@ class TwitterStrategy extends AuthStrategy { Future authenticateCallback( RequestContext req, ResponseContext res, AngelAuthOptions options) async { // TODO: Handle errors - print('Query: ${req.queryParameters}'); var token = req.queryParameters['oauth_token'] as String; var verifier = req.queryParameters['oauth_verifier'] as String; var loginData = await getAccessToken(token, verifier);