Had anyone had any luck getting OAuth between a Google Chrome extension and Google App engine to play nicely (or for that matter anything else?). I have followed all the steps.I have followed through the steps in this Google Dev tutorial and regardless I get redirected to about:blank at the end of the handshake process.
I have this code in my extension (cf what is in the tutorial):
var baseurl = 'https://my-app.appspot.com';
var oauth = ChromeExOAuth.initBackgroundPage({
'request_url' : baseUrl + '/_ah/OAuthGetRequestToken',
'authorize_url' : baseUrl + '/_ah/OAuthAuthorizeToken',
'access_url' : baseUrl + '/_ah/OAuthGetAccessToken',
'consumer_key' : 'anonymous',
'consumer_secret' : 'anonymous',
'scope' : baseUrl,
'app_name' : 'MyApp'
});
...but I do not think this is the issue because I note a similar issue occurs when I use the tutorial's oAuth parameters - I get redirected to a page asking whether I want to grant access to Google Drive and on clicking 'grant access' I get sent to about:blank and there seems to be no OAuth token.
Any ideas much appreciated.
UPDATE Maybe I am ansering my own question - not sure.
I was also working with the source for the ChromeToPhone extension - my code was based on this for the OAuth google app engine side of things. I tried installing this extension from source and got about:blank same issue. So then I went to this extension on the Extension App Store and the same thing occurs with that too. So maybe my Chrome (Version 31.0.1650.26 beta-m) is broken? Does this happen for anyone else or is my Chrome installation broken somehow?