So, the problem is that popup blocking the window open even if it is done by a user action, click for example..
gapi.auth.authorize({ client_id: this.clie
Try this:
Include an onload event in your call to client.js
Call gapi.auth.init from the onload function:
function handleClientLoad() { window.setTimeout(gapi.auth.init,1); }
In your authorize configuration set immediate: false.
Check that 1. is below 2. in the flow of the page.