Write a proper developer guide for developers.google.com #40

sqrrrl opened this Issue Apr 8, 2013 · 3 comments


None yet

3 participants

@sgomes sgomes was assigned Apr 17, 2013

I'm pretty new to using APIs, but I'm struggling from the minimal documentation. I'm following the example, and in the section of code below, I figured out what CLIENT_ID_FROM_API_CONSOLE should be replaced with but, I have no idea what CLIENT_SECRET and YOUR_REDIRECT_URI should be replaced with.

Initialize OAuth 2.0 client

client.authorization.client_id = 'CLIENT_ID_FROM_API_CONSOLE'
client.authorization.client_secret = 'CLIENT_SECRET'
client.authorization.redirect_uri = 'YOUR_REDIRECT_URI'


This has been addressed in the document being written, by explaining that the best practice is to use client_secrets.json.

Check the updated samples in this pull request for an idea of how to use client secrets: google/google-api-ruby-client-samples#3

@sgomes sgomes closed this Oct 28, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment