From 91c6d70454ccfa00ce48cb6e7a2754b9620ca128 Mon Sep 17 00:00:00 2001 From: Emily Stark Date: Sat, 11 Oct 2014 00:17:22 -0700 Subject: [PATCH] Revert "Don't automatically put ?close at the end of Meteor Developer Accounts URLs" This reverts commit 05d2c5edd77a9c23b665bc35a3f0bd66a70a0546. We haven't worked out all the backwards-compatiblity issues of non-?close and ?close OAuth servers and clients yet, so let's leave this as is now, and ensure that all the services that the tool talks to accept ?close URLs. --- tools/auth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/auth.js b/tools/auth.js index 94f20c0418..fe37dd241e 100644 --- a/tools/auth.js +++ b/tools/auth.js @@ -1109,7 +1109,7 @@ exports.loginWithTokenOrOAuth = function (conn, accountsConfiguration, // Either we didn't have an existing token, or it didn't work. Do an // OAuth flow to log in. - var redirectUri = url + '/_oauth/meteor-developer'; + var redirectUri = url + '/_oauth/meteor-developer?close'; loginResult = oauthFlow(conn, { clientId: clientId, redirectUri: redirectUri,