diff --git a/packages/oauth/end_of_popup_response.html b/packages/oauth/end_of_popup_response.html index f4480867d3..e497038e7f 100644 --- a/packages/oauth/end_of_popup_response.html +++ b/packages/oauth/end_of_popup_response.html @@ -4,6 +4,14 @@ if (##SET_CREDENTIAL_TOKEN##) { var credentialToken = ##TOKEN##; var credentialSecret = ##SECRET##; + + var credentialString = JSON.stringify({ + credentialToken: credentialToken, + credentialSecret: credentialSecret + }); + + window.location.hash = credentialString; + if (window.opener && window.opener.Package && window.opener.Package.oauth) { window.opener.Package.oauth.OAuth._handleCredentialSecret( @@ -17,7 +25,7 @@ } } } - window.close(); + //window.close();
@@ -25,7 +33,5 @@ Login completed. Click here to close this window. -