Thanks to visit codestin.com
Credit goes to github.com

Skip to content

client_secret.json vs client_secrets.json #506

Closed
@charlesreid1

Description

@charlesreid1

I've noticed a lot of inconsistency in example code given in various API documentation (I have looked at Calendar API, Directory API, Sheets API, YouTube API, and Drive API. I'm API-ed out). All of it uses this library, but some are using client_secret.json and others are using client_secrets.json. This repo seems to use client_secrets.json consistently so I don't understand why client_secret.json (no s) is being introduced.

But it is being introduced: see e.g. this commit to the youtube api samples that changes client_secrets.json to client_secret.json. (Is this an official source of samples? a google person developing a side project? supported unofficially but officially? the chain of ownership here is left ambiguous and that's frustrating. their contributing document points to this repo.)

Meanwhile the calendar sample is hosted in this repo and uses client_secrets.json consistent with the rest of the repo.

In spite of all this, sometimes even the incorrectly-named file seems to work. What's going on here?

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions