northstack / northstack-client

NorthStack Client
https://northstack.com
GNU General Public License v3.0
7 stars 1 forks source link

auth:whoami results in 401 Unauthorized #22

Closed javorszky closed 5 years ago

javorszky commented 5 years ago

Problem

Pulled down latest master, currently fd6cdd8

$ northstack auth:whoami
current logged in as Pagely.Model.Orgs.OrgUser:yPo8JiNuf6U8r2AEcVmgL6

In RequestException.php line 113:

> Client error: `GET https://api.northstack.com/orgs/user/yPo8JiNuf6U8r2AEcVmgL6` resulted in a `401 Unauthorized` response

$ northstack verify

> The "authClientId" option does not exist.

$ northstack signup
Organization Name: Gabor Javorszky
Username (usually email address): gabor@javorszky.co.uk
Password:
Owner First Name: Gabor
Owner Last Name: Javorszky
Owner Email: gabor@javorszky.co.uk
We use phone verification via text message.
Owner Mobile Phone Number Country Code (1 for US): [1]44
Owner Mobile Phone Number (For Verification): <phone number>
Is your phone number +44-<phone number>? [Y/n] y
Signup failed
{"status":"ERROR","body":{"name":{"messages":["Organization name already in use"]}}}
screen shot 2018-10-16 at 09 14 23

Expectation

That whoami would tell me I am me, but logged out. That I can reset my password if I don't remember it.

baohx2000 commented 5 years ago

The Password reset flow via console.northstack.com has been fixed.

If you end up with a 401, you just need to log in again using northstack auth:login {email}