Automattic / Automattic/cloudup-cli
Error 400
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Whenever I try to sign in I get this error:
``` shell
~ up config
Cloudup up(1) one-time configuration requires your
password, however it is transfered via https
and is not stored locally. Subsequent operations
use the auth token generated from this process.
Username: mtello17
Password: ********
/usr/lib/node_modules/cloudup/bin/up-config:38
if (err) throw err;
^
Error: 400: {"error":"invalid_grant","error_description":"invalid user credentials"} (POST /oauth/access_token)
at module.exports (/usr/lib/node_modules/cloudup/node_modules/cloudup-client/lib/error.js:13:10)
at /usr/lib/node_modules/cloudup/node_modules/cloudup-client/lib/client.js:72:30
at Request.callback (/usr/lib/node_modules/cloudup/node_modules/cloudup-client/node_modules/superagent/lib/node/index.js:628:30)
at Request. (/usr/lib/node_modules/cloudup/node_modules/cloudup-client/node_modules/superagent/lib/node/index.js:131:10)
at Request.EventEmitter.emit (events.js:95:17)
at IncomingMessage. (/usr/lib/node_modules/cloudup/node_modules/cloudup-client/node_modules/superagent/lib/node/index.js:773:12)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `up config` and inspect `bin/up-config` at line 38, then follow the request through `cloudup-client/lib/client.js` and `cloudup-client/lib/error.js`. Determine whether the reported credentials and OAuth request consistently produce `invalid_grant`; done means identifying the failing boundary and documenting or testing the expected sign-in behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- authentication, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100