• Resolved RonaldS

    (@norus)


    Hi, just installed your latest Version 1.11.18. But I get following error when activating the google drive initialization.
    401. That’s an error.
    Error: invalid_client
    The OAuth client was invalid.
    Request Details
    access_type=offline
    approval_prompt=force
    scope=https://www.googleapis.com/auth/drive
    response_type=code
    redirect_uri=http://www.mijndomain.nl/wp-admin/options-general.php?action=updraftmethod-googledrive-auth
    state=token
    client_id=myname@gmail.com

    How can I solve this?

    https://wordpress.org/plugins/updraftplus/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter RonaldS

    (@norus)

    I have done alle Google Drive OAuth settings.
    There are 2 Issues I can not understand:
    1.) Under ‘Authorized redirect URI’, paste in the URL that was shown to you on your UpdraftPlus settings page back in your WordPress admin console: (do paste it from there – don’t copy any screenshot below)
    What URL? There is no URL shown in Settings page.
    2) Have no idea what to put into this one: or the ‘Authorized JavaScript origins’, enter the same thing but remove everything after the initial host name in the URL. i.e. something like http://www.example.com

    It would be easier that there where some examples or screenshots.

    Thread Starter RonaldS

    (@norus)

    Finally found it. It is in this text area: “For longer help, including screenshots, follow this link. The description below is sufficient for more expert users.

    Follow this link to your Google API Console, and there activate the Drive API and create a Client ID in the API Access section. Select ‘Web Application’ as the application type.

    You must add the following as the authorised redirect URI (under “More Options”) when asked: https://www.domain.nl/wp-admin/options-general.php?action=updraftmethod-googledrive-auth N.B. If you install UpdraftPlus on several WordPress sites, then you cannot re-use your project; you must create a new one from your Google API console for each site. ”

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘OAuth2 Error when contacting Google drive’ is closed to new replies.