Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

View of ~/.mashery-toolbelt or problem with auth #40

Open
dracorp opened this issue May 31, 2019 · 1 comment
Open

View of ~/.mashery-toolbelt or problem with auth #40

dracorp opened this issue May 31, 2019 · 1 comment

Comments

@dracorp
Copy link

dracorp commented May 31, 2019

Hello
I have a problem with mashery-toolbelt auth subcommand:

$ mashery-toolbelt auth
? Username:
...
⣾  AuthenticationError: Invalid username or password
Try running `mashery-toolbelt auth` again

How should the credentials.json file look like? Or how I can enable verbose mode? The credentials are OK, I'm using them in the browser.

$ node -v
v12.1.0
$ npm -v
6.9.0
OS: macos 10.14.5
@zdne
Copy link
Contributor

zdne commented Jul 2, 2019

I believe the credentials are stored in the credentials.json after a successful login, see

onAuthenticationSuccess: credentials => {

So that won't be the problem. Must be something with client.authenticate() but as I am not the developer I can't help you with debugging it further.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants