Google doc Advanced Protection

Google's "Advanced Protection" generates an error when attempting to authorize Zotero Google Docs Integration.

Google offers workarounds for other apps, with a special authorization code, but they don't seem to work with the Zotero plugin. Please advise whether there is a workaround.
  • Could you be more specific about what problem you're experiencing? What are the steps to reproduce it?
  • (i) I'm in Google Doc, with the installed Zotero widget.
    (ii) Click "Add/edit citation"
    (iii) A new window opens: "Sign in with Google; Choose an account to continue to Zotero Google Docs Integration"
    (iv) I sign into the linked Google account
    (v) Next screen is a Google error:

    Authorization Error
    Error 400: policy_enforced
    Google cannot give this app access to your account data because Advanced Protection is turned on for your Google Account.
    Learn more
    Request Details
    =
    o2v=2
    response_type=token
    redirect_uri=https://www.zotero.org/connector_auth_complete
    state=google-docs-auth-callback
    client_id=
    access_type=online
    scope=https://www.googleapis.com/auth/documents https://www.googleapis.com/auth/userinfo.email
  • Google cannot give this app access to your account data because Advanced Protection is turned on for your Google Account.
    I suspect that pretty much sums it up.

    From the Advanced Protection FAQ:
    Can I still use Google products?

    You’ll be able to sign into your Google Account on Google apps and only in the Chrome browser (on desktop and mobile web). You won’t be able to use your Google Account with some apps and services that require access to your emails and Google Drive data.
    Zotero doesn't have anything to do with your password or anything like that here. We just ask via the permissions system for the specific permissions that we've been approved for. I don't think there's anything we could do differently on our end.
  • I am having the exact same problem.
  • @bsbentzle3: Not sure what you're looking for here. Read my message above.
  • I was able to get the zotero connector working with google advanced protection via the following workaround:
    1) Temporarily un-enroll from advanced protection at: myaccount.google.com
    2) Use the zotero connector in a google doc
    3) Re-enroll in google advanced protection and zotero connector continues to work with google docs.
    -Hopefully this process becomes smoother in the future.
  • @gwagner02 The solution I wrote above worked for me. I hope it works for you as well!
  • Same problem here. Un-enroll is a big hassle for me.

    Zotero will have to change its modus operandis, in order to support google docs.

    Beginning September 30, 2024: third-party apps that use only a password to access Google Accounts and Google Sync will no longer be supported - https://workspaceupdates.googleblog.com/2023/09/winding-down-google-sync-and-less-secure-apps-support.html
  • The link you've posted has nothing to do with Advanced Protection programme. Zotero already uses the "secure" authorization that Google is talking about in this announcement.
Sign In or Register to comment.