I'm working on a Chrome Extension that interacts with Google Calendar. I've open sourced it, and the code can be found on GitHub: https://github.com/joshholat/Add-to-Calendar-Chrome-Extension
It needs to authorize with Google's oAuth in order to be able to edit the users calendar. Until recently, that was working fine. However, one day it for some reason stopped working. When I do the following code, it opens a new tab from oauth that is supposed to ask for permission however the page never loads but rather freezes on "Redirecting...". Therefore, there's no way for me to authorize and test 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() { alert("auth"); });