sheets-api-codelab
sheets-api-codelab copied to clipboard
tutorials adds wrong port as source origin
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.