Chrome oAuth extension Request page redirection without loading

I am working on a Chrome extension that interacts with Google Calendar. I opened it and the code can be found on GitHub: https://github.com/joshholat/Add-to-Calendar-Chrome-Extension

In order to edit the user calendar, he needs to log in using Google oAuth. Until recently, this worked fine. However, one day he somehow stopped working. When I do the following code, it opens a new tab from oauth, which should ask for permission, but the page never loads, but hangs on "Redirecting ...". Therefore, I am not allowed to authorize and verify my code.

Ideas?

var oauth = ChromeExOAuth.initBackgroundPage({
 'request_url': 'https://www.google.com/accounts/OAuthGetRequestToken',
 'authorize_url': 'https://www.google.com/accounts/OAuthAuthorizeToken',
 'access_url': 'https://www.google.com/accounts/OAuthGetAccessToken',
 'consumer_key': 'anonymous',
 'consumer_secret': 'anonymous',
 'scope': 'http://www.google.com/calendar/feeds/',
 'app_name': 'Add Events to Google Calendar'

});

oauth.authorize (function () {warning ("Auth");});

+5
2

manifest.json

"permissions": [
  "tabs",
  "https://www.google.com/"
],
+3

, OOuth Chrome. , - , Chrome OAuth .

+1

All Articles