google / google-api-ruby-client-samples

Samples for the Google API Ruby Client
327 stars 164 forks source link

Confusing calendar instructions regarding oauth credentials #10

Closed russellsilva closed 4 years ago

russellsilva commented 10 years ago

The Calendar demo readme contains the following instructions:

Edit the calendar.rb file and enter the values for the following properties that you retrieved from the API Console:

oauth_client_id oauth_client_secret

I'm confused by these instructions because the strings oauth_client_id and oauth_client_secret never appear in calendar.rb. What am I missing here?

jjkowalsky commented 10 years ago

Download the JSON file with the OAuth2 credentials you just created, save it to the calendar folder, and rename it as "client_secrets.json".

adamk33n3r commented 10 years ago

This would be more clear if #7 was merged. These instructions have been made obsolete because of new developer console and #1.

tryceattack commented 10 years ago

Thanks for the discussion guys. calendar.rb-oauth2.json doesn't work, but client_secrets.json.

endlos commented 8 years ago

Thanks @tryceattack