meteor/meteor — pull request #240 by possibilities (2012-07-19 08:03:02+00:00)
Title: improve configurability of oauth2 popup

Hi Avital,

I took a shot at making the oauth2_client popup configurable.With this patch when configuring the client you can include a key to options called 'popup':

var key = 'KEY';
var url = 'URL';

var options = {
popup: {
centered: true,
features: {
width: 600,
height: 450
}
}
};

Meteor.accounts.google.config(key, url, options);

I think it's pretty intuitive. The `features` key can include any `window.open` options.

Let me know what you think. I'll add documentation if you like the approach.