Homey Community Forum

Https://go.athom.com/cli-login goes to www.npmjs.com!?

For some reason I get redirected to www.npmjs.com. Tried 3 different browsers. DNS issue on my side or some kind of other issue?


It’s explicitly redirecting there:

HTTP/1.1 302 Moved Temporarily
Connection: keep-alive
Content-Length: 162
Content-Type: text/html
Date: Sat, 03 Nov 2018 13:36:46 GMT
Location: https://www.npmjs.com/package/athom-cli
Server: nginx/1.10.2

The current CLI tool uses https://cli.athom.com. No idea why Athom isn’t redirecting there, or show a warning page that people should update athom-cli.

I’ve poked around a little and found the cli.athom.com site. Unfortunately I get an error message after clicking my username…

{“code”:400,“error”:“invalid_request”,“error_description”:{“client_id”:“Invalid value”}}

What are you trying to do, exactly?

Never mind. Updated athom and spawns the correct page in my browsers.

Thanks for the help! Very clumsy work from Athom…

Guess it had to do with this:

Updating Athom-CLI should do it.

Run > npm i -g athom-cli to update