Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Specify in the "npm run token" flow which GCP OAuth user type is reccomended #100

Open
hcharley opened this issue Jul 6, 2021 · 1 comment

Comments

@hcharley
Copy link

hcharley commented Jul 6, 2021

On following these instructions:

Create an "OAuth Client ID" with the config:
Name: "gatsby-source-google-docs"
Type: "Web application"
Redirect uri: "http://localhost"

https://console.developers.google.com/apis/credentials/oauthclient

... the user is ultimately guided this GCP page:

https://console.cloud.google.com/apis/credentials/consent?folder=&organizationId=&project=xxx

Which looks like:

Screen Shot 2021-07-06 at 12 51 16 PM

Is there a reccomended user type that could be added to the instructions, like:

Create an "OAuth Client ID" with the config:
User Type: "Internal" for typical usage, and "External" if you plan to publish and share your Tiny News outside of your organization
Name: "gatsby-source-google-docs"
Type: "Web application"
Redirect uri: "http://localhost"

https://console.developers.google.com/apis/credentials/oauthclient
@hcharley
Copy link
Author

hcharley commented Jul 6, 2021

I should mention that maybe I was confused. I was guided to create an application because I had no application (I think).

Now that I have created an app and I go to this page, filling out the fields in the instructions feel more straightforward:

https://console.developers.google.com/apis/credentials/oauthclient

Perhaps this ticket could be renamed to "Add instructions for creating a GCP OAuth application before the instructions for creating OAuth credentials."

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant