sheets-api-codelab icon indicating copy to clipboard operation
sheets-api-codelab copied to clipboard

tutorials adds wrong port as source origin

Open sidsarasvati opened this issue 2 years ago • 0 comments

starter code runs on localhost:8080 however tutorials adds localhost:3000 to source uri

[4. Create a client ID](https://codelabs.developers.google.com/codelabs/sheets-api#3)

Before creating a client ID, you must turn on the Google Sheets API.

Use [this wizard](https://console.developers.google.com/start/api?id=sheets.googleapis.com) to go to the Enable access to API page.
Make sure the correct project is selected in the projects list at the top of the page, and then click Next.
Click Enable.
Next, add an OAuth client ID to your project.

Click Menu menu.png and go to APIs & Services > Credentials ([direct link](https://console.cloud.google.com/apis/credentials)).
Click Create Credentials > OAuth client ID.
For Application type, select Web application and add the name "Google Sheets API Quickstart".
For Authorized JavaScript origins, click Add URI and add the value http://localhost:3000.

sidsarasvati avatar Mar 20 '22 17:03 sidsarasvati