jonagh / gapi-querier

Tool for running Google APIs, and to play with google auth and stuff.
GNU General Public License v3.0
102 stars 35 forks source link

GAPI-Querier (aka find out-of-album photos) Instruction #8

Closed dcschris closed 2 years ago

dcschris commented 3 years ago

Hi Jonagh,

Sorry, maybe it's me, but I couldn't follow the instructions on the readme page for the GAPI-Querier (aka find out-of-album photos) API. Perhaps Google has changed the way they organise things or changed their GUI. Could you confirm whether these instructions are accurate or please update them so they can be followed. I'm really keen to try this API out

Thanks C

jonagh commented 3 years ago

I just adjusted the instructions with some minor improvements for clarity, however there were no significant changes to the Google Developer Console (apart from needing to click Edit App in the initial consent screen page to get to the needed settings).

If you could tell me where you're getting stuck, maybe I can provide more information.

dcschris commented 3 years ago

Hi Jonagh Thanks for the additional instructions, they helped somewhat and I was able to try to run the API; however, I got an Error 403 message as below. I think this may be something to do with, on the OAuth consent screen, I selected User type External, as Google wouldn't get me chooseInternal. Is this the issue and, if so, any ideas on how to resolve this.

Thanks again for your prompt help C

Error message below:

Authorization Error Error 403: access_denied The developer hasn’t given you access to this app. It’s currently being tested and it hasn’t been verified by Google. If you think you should have access, contact the developer @.***). Learn more https://support.google.com/accounts/answer/3466521?p=app_notverified Request Details

On Mon, 19 Apr 2021 at 18:14, jonagh @.***> wrote:

I just adjusted the instructions with some minor improvements for clarity, however there were no significant changes to the Google Developer Console (apart from needing to click Edit App in the initial consent screen page to get to the needed settings).

If you could tell me where you're getting stuck, maybe I can provide more information.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jonagh/gapi-querier/issues/8#issuecomment-822635476, or unsubscribe https://github.com/notifications/unsubscribe-auth/AODM6HLE2UMWBCBOE22JGODTJRQHJANCNFSM43F3KVBA .

jonagh commented 3 years ago

Ya the Authorization Error is because you haven't verified your domain (see Domain Verification page in google developer console). I personally don't bother verifying since I trust myself, so on that Authorization Error page I just click Advanced and Go to (unsafe)... to bypass the warning. If you want to verify your domain you can do that and it will get rid of that warning.

Also note that ad-blockers/etc might block google auth requests, so that's another problem that you may run into - I just ran into it when re-testing the app and so thought I'd mention it.