Comments (2)
@henryw4k you can generate via Web application
However, once you get the json, change it to installed and it will work.
So, in credentials.json
you shall end up with something similar to
{
"installed": {
"client_id": "YOUR_CLIENT_ID",
"project_id": "PROJECT_ID",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "CLIENT_SECRET",
"redirect_uris": ["urn:ietf:wg:oauth:2.0:oob", "http://localhost"]
}
}
As the author mentioned, make sure that credentials.json
and gmail_token.json
added to .gitignore
from gmail-tester.
Those who might see this in future, selecting Web Application
will block at next steps. Rather please use Desktop app
. This will create credentials.json
similar to one in readme.
from gmail-tester.
Related Issues (20)
- Cannot destructure property 'HTTP2_HEADER_CONTENT_ENCODING' of 'http2.constants' as it is undefined. HOT 1
- How to use gmail-tester with latest cypress version (Cypress 10)? HOT 1
- I'm receiving an error on set 'include_body: true' HOT 1
- Label not a typed parameter for check_message HOT 2
- Activation Page redirects to Localhost, Terminal Not Accepting Code HOT 1
- Incomplete documentation HOT 2
- error while executing the command "node node_modules/gmail-tester/init.js credentials.json token.json [email protected]" HOT 5
- Created a new project on Google Console, Get the Credentials but the init process never ends HOT 21
- version in npm is 1.3.8, while here it's 1.3.4
- check_inbox - Cannot destructure property 'HTTP2_HEADER_CONTENT_ENCODING' of 'http2.constants' as it is undefined. e HOT 2
- socket hang up issue
- readme links to a deprecated adwords page HOT 1
- Add credentials and token in cypress.config.js into cypress.env file
- It's not possible to paste verification code during refresh token in 1.3.8 HOT 3
- The API returned an error: Error: Invalid Credentials HOT 1
- Unable to get new credentials, does this still work?
- get_messages returns empty array of emails
- cheerio.load() expects a string node_modules/cheerio/lib/load.js:74:1 #3475 HOT 2
- Creds expiring after ~1wk - is that normal? HOT 1
- I am not getting credential.json file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmail-tester.