I am trying to download the client_secret.json from google API. I am following the steps listed in https://developers.google.com/gmail/api/quickstart/ruby.
- Use this wizard to create or select a project in the Google Developers Console and automatically enable the API.
- In the sidebar on the left, select Consent screen. Select an EMAIL ADDRESS and enter a PRODUCT NAME if not already set and click the Save button.
- In the sidebar on the left, select Credentials and click Create new Client ID.
- Select the application type Installed application, the installed application type Other, and click the Create Client ID button.
- Click the Download JSON button under your new client ID. Move this file to your working directory and rename it client_secret.json.
The client_secret.json file does download but it is empty. The title of the file looks like it must be the client_id ending in apps.googleusercontent.com however there is no data stored inside the file.