This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Description
Hi,
the silent relogin with checkAuth() does not work on first start of the app (like reloading the URL).
This has once worked and I've found the corresponding code part.
var config = {client_id: CLIENT_ID, scope: SCOPE, immediate: false, authuser: -1, response_type: RESPONSE_TYPE};
if(mode) {
config.user_id = GData.getUserId();
config.immediate = true;
}
if(DOMAIN != undefined)
config.hd = DOMAIN;
$window.gapi.auth.authorize(config, authorizeCallback);
In earlier versions only client_id, scope and immediate were added to the config object. The new parameters prevent the silent relogin.