Skip to content

Invalid Google Callback on latest Frappe #14

Description

@AndyQuantonium

I recently had to update my bench after restoring from a backup due to some server issues. I noticed the backups weren't running weekly (last one on Feb. 1st), so I presume the oauth authorization was invalid.

I can click the "Authorize Google Drive Access" button, sign in, and allow access on the Google oauth page, however the redirect uri seems to be incorrectly received on Frappe's end, perhaps due to a change in Frappe's api? (btw the official docs are outdated, mention nothing about needing to add this app for google drive integration).

On the URL https://site/api/method/frappe.integrations.google_oauth.callback?state=%7B%22redirect%22:%20%22/app/Form/Google%20Drive%22,%20%22domain%22:%20%22drive%22%7D&code=CODE_HERE&scope=https://www.googleapis.com/auth/drive I receive error "Invalid Google Callback: The callback domain provided is not valid for Google Authentication; Status: 400".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions