• Resolved anthony03

    (@anthony03)


    Hi there,

    I have followed complete guide, but I’m still stuck when trying to grant permission
    I log with same G account used to create OAuth and so and after Google login I’ve got a 403 error title with this text only on the page

    Forbidden
    You don’t have permission to access this resource.

    The only thing to consider is that G account is part of a Google org for non profit (not a personal account)
    Tried with admin account of the org => same result

    URL for the given error (I have removed the token)
    https://my_web_site/wp-admin/admin.php?page=sgdg_basic&action=oauth_redirect&code=4/……token……..w&scope=https://www.googleapis.com/auth/drive.readonly

    Do you have any idea ?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Marek Dědi?

    (@marekdedic)

    Hi,
    do you have any security plugins or mod_security enabled for your site? I haven’t seen that in a while, but previously they could be a bit over-zealous and block the gallery from authorizing…

    Marek

    Thread Starter anthony03

    (@anthony03)

    Hi Marek,

    Yes I have Wordfence & WP Security enabled, may be I need to check logs, but I do not know what I should really looking for any keyword or URL could be welcome

    If you can suggest something

    Thanks for support,
    Anthony

    Plugin Author Marek Dědi?

    (@marekdedic)

    Hi,
    I’d suggest turning it off for the verification to see if it’s the problem (turn it back on after that of course…)

    Marek

    Thread Starter anthony03

    (@anthony03)

    Hi Marek,

    I did suceed with removing &scope=https://www.googleapis.com/auth/drive.readonly at the end of the redirection URL after Google authentication and right approval

    Then it passed to step 2 with the display of my directories

    I hope this good

    Anthony

    Thread Starter anthony03

    (@anthony03)

    Hi Marek

    I confirm, it works well ??

    Cheers,
    Anthony

    Plugin Author Marek Dědi?

    (@marekdedic)

    Hmm,
    that is strange, but I’m glad it works for you now…

    Marek

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Forbidden You don’t have permission to access this resource.’ is closed to new replies.