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
Popups that don't originate from user events will get blocked depending on your browser's settings. You can try setting immediate to false:
gapi.auth.authorize({
client_id: this.client_id,
scope: this.scopes,
immediate: false
}, function(authResult) {
console.log(authResult)
});
You can use this code to refresh the access token after you've already authorized the app.