I am using meteor.js.
How can I direct the client to a url without the click of a button. I am retrieving a url from the server and have this url set in session a variable.
Session.set('grSignInUrl', result)
//result = http://www.goodreads.com/oauth/authorize?oauth_token=6mLjmfytrCj695y98S
window.location = result;
Only when there is a value in this session, I would like the users browser to direct them to this url. How can I achieve this?