blob: 1c42e484b0e9dbc0013d1aca3848cb5d028eda9e [file] [log] [blame]
console.debug('in authtest.json', [jsonp_url]);
if (jsonp_url.indexOf('auth=') >= 0) {
jsonp([['ok'], [true]]);
} else {
tryOAuth2('https://accounts.google.com/o/oauth2/auth' +
'?scope=https://www.googleapis.com/auth/spreadsheets.readonly');
}