googleworkspace / go-samples

Go samples for Google Workspace APIs
Apache License 2.0
213 stars 100 forks source link

Unable to parse client secret file to config: oauth2/google: missing redirect URL in the client_credentials.json exit status 1 #44

Open JWTeunisse opened 4 years ago

JWTeunisse commented 4 years ago

Error

I started using your example. and I get this error. 2020/03/19 17:06:41 Unable to parse client secret file to config: oauth2/google: missing redirect URL in the client_credentials.json exit status 1 Any suggestions please

JWTeunisse commented 4 years ago

For the moment I solved this issue. First I checked both the go get parts. The same error result. Then I repeated step 1 in order to create a new version of my credentials.json. This was the issue apparently: the quickstart.go responded as is described.

Now I can go further with developing my program to filter certain events.

For the moment thanks for this simple tutorial.

Harlan6 commented 2 years ago

How to generate credentials.json file , the same error result with you