How do I get Construct 3 to stop asking me to log into Google Drive?

0 favourites
  • 13 posts
From the Asset Store
Casino? money? who knows? but the target is the same!
  • I'm saving my project file to my Google Drive and Construct 3 asks me every few hours to confirm / re-log into my Google Drive account. It's kind of a nuisance, but I'm wondering if I'm doing something wrong or if there's a setting to say 'keep this permission for 1 year' or something...

  • Strange. Mine stays cached, for as long as I'm signed into my google account. Maybe try signing into your Google account, within the web browser you use to load Construct 3? If that doesn't work, it sounds like your cookies and cache on that web browser are being cleared every so often.

    I've used Construct 3 in both Chrome, and Brave browsers, and it keeps me logged into Google Drive. That is... until I clear my cookies/cache on the browser.

  • This is the login dialog that pops up, about every 2 hours now that I timed it.

    I'm using Construct3 as a separate window, if that makes a difference:

    Opening App info shows:

    And when I click Site settings it opens up in my browser, which I am signed into

  • So it does appear to be something to do with it not knowing I'm signed in:

    Source: construct.net/en/forum/construct-3/general-discussion-7/un-sync-cloud-138865

    Construct does not hold any passwords to any of your cloud services. When you log in Google gives us a ticket which construct holds on to. Whenever construct saves a file it shows the ticket to Google. If Google decides the ticket is valid then the file is saved.

    This ticket is only valid for 1 hour, after that we have to ask for a new ticket. When you press the logout button we throw the ticket away.

    When we need to get a new ticket we will open the Google sign in page, and wait for it to give us a ticket back. We have no control over the Google sign in page. When you type in your user name and password you are giving it to Google, not to us. We never see your password.

    If your browser is already signed into your Google account the sign in page may just return the ticket to us, as you have told Google that you trust C3. Unless you are using your personal computer, with adequate password protection, I would not advise leaving your Google account signed in. Anyone using that browser will be able to view your gmail, drive files, etc. If it's a shared computer then I suggest that you use either a guest or incognito window. These will sign you out of Google once the window is closed.

    Finally, on your Google account settings you can "untrust" any applications that you have granted access to your Google account.

  • Just to make things more confusing, the taskbar icon seems to imply that I am signed in to my Google account.

  • Maybe it's trying to connect to (by default) an incognito window in Chrome. Otherwise, check the browser settings of Chrome, maybe it does clear the cookies/cache automatically.

  • Apologies. I was away the rest of the day yesterday. That would be my best guess as well. Seems like the web browser you use for Construct 3, may be automatically clearing cookies/cache. Or perhaps like mentioned, it may be automatically connecting to an incognito tab.

    If neither of those are the case. Do you have any applications on your machine, that automatically clear web browsers cookies/cache? I use CCleaner to clean my PC every once in a while, but I disable the cookies/cache/filled forms clearing in Chrome, and Brave for this reason. It just makes it easier for me, not having to enter everything again. I also use the Desktop App/Shortcut for Construct 3, which opens up in Brave(my default browser). If I clear those three things I mentioned above, I need to enter my username/password for everything Construct/Google Drive related, as well as the Settings info in Construct 3 like Default creator name, website, and any other settings there.

  • It's strange, because it remembers my Construct3 login and everything, but it's just Google Drive that prompts me to confirm / login every 2 hours. I don't think it's opening in an incognito window. The shortcut target is:

    "C:\Program Files (x86)\Google\Chrome\Application\chrome_proxy.exe" --profile-directory=Default --app-id=incdokckmnmglbmdgldialcgefgpcbbc

    (There is no -incognito option there)

    It's also not on-exit, because I will have Construct open for a whole day or longer, and it will prompt me to log into Google Drive again once it tries to do an autosave 2 hours after the last login.

    I'll try in a normal Chrome window, an incognito window, and in Firefox, to see if there's any difference.

  • In your other thread it looked like you were out of disk space and so the browser was regularly cleaning up storage to try to save space. It could also be clearing the remembered Google Drive login, causing you to have to keep logging in.

  • In your other thread it looked like you were out of disk space and so the browser was regularly cleaning up storage to try to save space. It could also be clearing the remembered Google Drive login, causing you to have to keep logging in.

    That would definitely make sense. Wish I had seen the other thread XD

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • So with a bit of experimentation I've found something interesting. In incognito mode or Firefox, it seems to behave properly. Under my normal account, it seems to always want me to confirm the login. So I'm guessing it may be something to do with my preferences, extensions, or something to do with me being signed into the browser itself? Very confusing. Any pointers would be helpful but I'll keep investigating.

  • In your other thread it looked like you were out of disk space and so the browser was regularly cleaning up storage to try to save space. It could also be clearing the remembered Google Drive login, causing you to have to keep logging in.

    Thanks for the input. But this has been happening for a long time, maybe even since I started using Construct3 - and has also happened again after I made plenty of space on disk. (It also works as expected in other browsers, and in incognito mode, as explained above)

  • I've "solved it" for now by creating a new Google Chrome profile specifically for Construct, and that's working perfectly :)

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)