• Resolved deimos319

    (@deimos319)


    I’ve followed directions to set up credentials. When I go to AUthenticate Google Photos, I get this message:

    Access blocked: This app’s request is invalid

    You can’t sign in because this app sent an invalid request. You can try again later, or contact the developer about this issue.

    If you are a developer of this app, see error details.

    Error 400: redirect_uri_mismatch

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Error 400: redirect_uri_mismatch

    That’s your reason. Make sure you are putting in the correct redirect URI in Google. See step 7b of the documentation.

    Thread Starter deimos319

    (@deimos319)

    Got it, I didn’t fill that part out because the instructions said it wasn’t needed if I didn’t have trouble setting up the OAuth client ID. But I’m trying to enter the URI from the phototonic google photos settings page and I’m getting this message now: Invalid Origin: URIs must not contain a path or end with “/”. This is the link I’m trying to add, copied directly from the settings page: https://mitsfilmpros.com/wp-admin/admin.php?page=photonic-auth&source=google

    Thanks!

    Plugin Author Sayontan Sinha

    (@sayontan)

    You might be filling out the field for “Authorized JavaScript origins” instead of the the field for “Authorized redirect URIs”. I am guessing this from the wording on your error, which makes a reference to an origin.

    Thread Starter deimos319

    (@deimos319)

    Nope, I’m filling out the authorized redirect URIs.

    Edit: here is a screenshot of the place I’m entering the redirect URIs directly copied from the phototonic google photos settings page: https://photos.app.goo.gl/yyA97HmtPbehYXdG7

    • This reply was modified 1 year, 4 months ago by deimos319.
    Plugin Author Sayontan Sinha

    (@sayontan)

    Look at the headings of the screenshot you posted. It says, “Authorized JavaScript origins”, not “Authorized redirect URIs”.

    Thread Starter deimos319

    (@deimos319)

    Ah hah!! My mistake. Thank you so very much for your help.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to Authenticate Google Photos’ is closed to new replies.