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.
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?
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?
Whenever I try to create the Client ID I get the prompt for the consent screen.
Here is a screenshot:
https://ibb.co/0Z4Fg5W
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).
Not working, I still get the same consent screen prompt.
Even without any URL? It lets me save the key when I blank out the Authorized Redirect URIs.
I can’t create a new key, but I do have an old key, maybe I can use it.
What’s the issue with the old key?
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.
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”.
That was what I started with, didn’t get anywhere there either.
https://ibb.co/H2xmvNN
Wow, it worked, it was enough to fill in the product name (I wrote Photonic),the other fields were not required.
That’s a relief!
You are likely to require the workaround to actually get the Refresh Token, so keep the workaround link above handy.