• Resolved kallekn

    (@kallekn)


    Google says: To create an OAuth client ID, you must first set a product name on the consent screen

    What should one fill in in the consent screen for the following? Or am I doing something wrong?

    Application name
    Application logo
    Support email
    Scopes for Google APIs
    Authorized domains
    Application Homepage link
    Application Privacy Policy link
    Application Terms of Service link (Optional)

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

    (@sayontan)

    Are you following the instructions here? When I follow these instructions, I don’t see Google ask for most of these fields in your list. The fields you have listed seem to be relevant for a different purpose.

    Thread Starter kallekn

    (@kallekn)

    As far as I can see I am following the instructions. The “consent screen” appears when I try to create the OAuth Client ID. Is that not what I am supposed to do?

    Plugin Author Sayontan Sinha

    (@sayontan)

    But I don’t see this field coming up via the instructions. You should only see the fields from the screenshots in points #3 and #4 of the instructions for “Creating a Client ID”. Where are you being prompted for the consent screen?

    Thread Starter kallekn

    (@kallekn)

    Whenever I try to create the Client ID I get the prompt for the consent screen.

    Here is a screenshot:

    https://ibb.co/0Z4Fg5W

    Plugin Author Sayontan Sinha

    (@sayontan)

    Ah, I see. So Google has changed a few things (again).

    Let’s try a few things – blank out the “Authorized Redirect URIs” and save the ID. That should probably go through. Next, instead of following the regular instructions, follow the instructions in the workaround. So basically, you will add a different authorization URL, and then specify the scope etc. as per the workaround on a site that Google runs (i.e. the OAuth2 Playground).

    Thread Starter kallekn

    (@kallekn)

    Not working, I still get the same consent screen prompt.

    Plugin Author Sayontan Sinha

    (@sayontan)

    Even without any URL? It lets me save the key when I blank out the Authorized Redirect URIs.

    Thread Starter kallekn

    (@kallekn)

    I can’t create a new key, but I do have an old key, maybe I can use it.

    Thread Starter kallekn

    (@kallekn)

    No. I give up. ??

    Plugin Author Sayontan Sinha

    (@sayontan)

    What’s the issue with the old key?

    Thread Starter kallekn

    (@kallekn)

    I am afraid I don’t really understand all this stuff, but I do have an API key that I created 2014. However, that is obviously not what I need.

    Plugin Author Sayontan Sinha

    (@sayontan)

    OK, let’s try this step by step.

    First, when you are going to the “Credentials” page, are you directly clicking “Create Credentials → OAuth Client ID”? Or are you clicking “Create Credentials → Help me choose”? The reason I ask is because in your screenshot I am seeing “Find out what kind of credentials you need”: that is not what I get when I click on “OAuth Client ID”. It seems to me like you are picking “Help me choose”; that is causing the problem.

    Go back to the API Manager, then click on “Credentials”, then click on “Create Credentials”, then “OAuth Client ID”.

    Thread Starter kallekn

    (@kallekn)

    That was what I started with, didn’t get anywhere there either.

    https://ibb.co/H2xmvNN

    Thread Starter kallekn

    (@kallekn)

    Wow, it worked, it was enough to fill in the product name (I wrote Photonic),the other fields were not required.

    Plugin Author Sayontan Sinha

    (@sayontan)

    That’s a relief!

    You are likely to require the workaround to actually get the Refresh Token, so keep the workaround link above handy.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Google API consent screen?’ is closed to new replies.