WordPress.org

Ready to get started?Download WordPress

Forums

UpdraftPlus - WordPress Backup and Restoration
[resolved] Cannot Authenticate with Google Drive (5 posts)

  1. codybriansisco
    Member
    Posted 5 months ago #

    I installed Updraft Plus 1.7.35 (using Word Press Add Plugin panel), created a Client ID and secret using the Google API interface, and entered the details accurately into the Updraft Plus settings page.

    When I click on the authentication page, I get the following error:

    Error: redirect_uri_mismatch
    The redirect URI in the request: http://www.codysisco.com/wp-admin/options-general.php?page=updraftplus&action=updraftmethod-googledrive-auth did not match a registered redirect URI

    Request Details
    from_login=1
    scope=https://www.googleapis.com/auth/drive https://www.googleapis.com/auth/drive.file https://docs.googleusercontent.com/ https://docs.google.com/feeds/ https://spreadsheets.google.com/feeds/
    redirect_uri=http://www.codysisco.com/wp-admin/options-general.php?page=updraftplus&action=updraftmethod-googledrive-auth
    state=token
    as=7998da77328d1a31
    display=page
    pli=1
    hl=en
    cookie_policy_enforce=false
    response_type=code
    access_type=offline
    zt=ChRuUzJienEtOG1QeEFBaUg2UEhuUBIfNGt1LTJlYTNWWlFiTXFUbUhqeVRGR011R1dZWGhBSQ∙APsBz4gAAAAAUnGZVI79eJ-4QkBsCRrqzuAYLpu81i6_
    prompt=consent
    client_id=425164432989.apps.googleusercontent.com
    authuser=0

    http://wordpress.org/plugins/updraftplus/

  2. David Anderson
    Member
    Plugin Author

    Posted 5 months ago #

    Hi codybriansisco,

    This one is in the FAQs: http://updraftplus.com/faqs/what-does-the-error-error-redirect_uri_mismatch-mean/

    Best wishes,
    David

  3. codybriansisco
    Member
    Posted 5 months ago #

    Hi David,

    I read the FAQ before I submitted the question. I should have mentioned that.

    I copy and pasted the Redirect URL from the UpdraftPLus page. Likewise, I copy and pasted the Client ID and Secrets, so the problem is not that the URI don't match, despite what the error message says.

    I know other users have had this problem. I'm hoping you can help pinpoint a solution.

    Thanks David.

    Cody

  4. David Anderson
    Member
    Plugin Author

    Posted 5 months ago #

    Hi Cody,

    Please can you send a link to a screenshot of the settings in your Google Drive console? (Use http://snag.gy if it helps).

    David

  5. codybriansisco
    Member
    Posted 5 months ago #

    Wait! I figured this out.

    The problem is with Google's new Cloud Console...It creates a very sneaky error.

    When I went to the old APIs Console interface, I discovered the URI had been truncated (even though it appeared correct in the new Cloud Console interface AND in the error message).

    I fixed the URI and now authentication succeeds.

Reply

You must log in to post.

About this Plugin

About this Topic